METHOD_0 ( ) { METHOD_1 ( ) ; java . util . Properties properties = new java . util . Properties ( ) ; properties . setProperty ( STRING_0 , org . drools . persistence . IDENT_0 . class . getName ( ) ) ; properties . setProperty ( STRING_1 , org . IDENT_1 . persistence . IDENT_2 . IDENT_3 . class . getName ( ) ) ; properties . setProperty ( STRING_2 , org . drools . persistence . jpa . IDENT_2 . IDENT_4 . class . getName ( ) ) ; properties . setProperty ( STRING_3 , org . IDENT_1 . persistence . IDENT_2 . IDENT_5 . class . getName ( ) ) ; org . drools . core . IDENT_6 config = org . drools . core . IDENT_6 . newInstance ( properties ) ; config . METHOD_2 ( org . kie . api . runtime . conf . IDENT_7 . get ( IDENT_8 . IDENT_9 . getId ( ) ) ) ; org . drools . core . impl . IDENT_10 IDENT_11 = org . drools . core . impl . IDENT_12 . METHOD_3 ( ) ; java . util . Collection < org . kie . api . IDENT_13 . IDENT_14 > IDENT_15 = METHOD_4 ( ) ; IDENT_11 . METHOD_5 ( IDENT_15 ) ; org . drools . persistence . IDENT_0 service = new org . drools . persistence . METHOD_6 ( IDENT_11 , config , IDENT_16 ) ; java . lang . Long IDENT_17 = service . METHOD_7 ( ) ; org . drools . core . command . runtime . process . IDENT_18 IDENT_19 = new org . drools . core . command . runtime . process . METHOD_8 ( ) ; IDENT_19 . METHOD_9 ( STRING_4 ) ; org . kie . api . runtime . process . IDENT_20 IDENT_21 = service . execute ( IDENT_19 ) ; org . IDENT_1 . persistence . session . IDENT_22 . logger . info ( STRING_5 , IDENT_21 . getId ( ) ) ; java . lang . Thread . sleep ( INT_0 ) ; service = new org . drools . persistence . METHOD_6 ( IDENT_17 , IDENT_11 , config , IDENT_16 ) ; org . drools . core . command . runtime . process . IDENT_23 IDENT_24 = new org . drools . core . command . runtime . process . METHOD_10 ( ) ; IDENT_24 . METHOD_11 ( IDENT_21 . getId ( ) ) ; IDENT_21 = service . execute ( IDENT_24 ) ; "<AssertPlaceHolder>" ; } execute ( org . kie . api . executor . IDENT_25 ) { java . lang . IDENT_26 IDENT_27 = java . lang . Thread . METHOD_12 ( ) . METHOD_13 ( ) ; try { java . lang . Object [ ] parameters = null ; org . kie . api . runtime . process . IDENT_28 IDENT_29 = ( ( org . kie . api . runtime . process . IDENT_28 ) ( ctx . METHOD_14 ( STRING_6 ) ) ) ; java . lang . String IDENT_30 = ( ( java . lang . String ) ( IDENT_29 . METHOD_15 ( STRING_7 ) ) ) ; java . lang . String IDENT_31 = ( ( java . lang . String ) ( IDENT_29 . METHOD_15 ( STRING_8 ) ) ) ; java . lang . String IDENT_32 = ( ( java . lang . String ) ( IDENT_29 . METHOD_15 ( STRING_9 ) ) ) ; java . lang . String IDENT_33 = ( ( java . lang . String ) ( IDENT_29 . METHOD_15 ( STRING_10 ) ) ) ; java . lang . String IDENT_34 = ( ( java . lang . String ) ( IDENT_29 . METHOD_15 ( STRING_11 ) ) ) ; if ( ( IDENT_29 . METHOD_15 ( STRING_12 ) ) instanceof java . lang . Object [ ] ) { parameters = ( ( java . lang . Object [ ] ) ( IDENT_29 . METHOD_15 ( STRING_12 ) ) ) ; } else if ( ( ( IDENT_29 . METHOD_15 ( STRING_12 ) ) != null ) && ( IDENT_29 . METHOD_15 ( STRING_12 ) . getClass ( ) . METHOD_16 ( ) ) ) { int length = java . lang . reflect . IDENT_35 . METHOD_17 ( IDENT_29 . METHOD_15 ( STRING_12 ) ) ; parameters = new java . lang . Object [ length ] ; for ( int i = 0 ; i < length ; i ++ ) { parameters [ i ] = java . lang . reflect . IDENT_35 . get ( IDENT_29 . METHOD_15 ( STRING_12 ) , i ) ; } } else { parameters = new java . lang . Object [ ] { IDENT_29 . METHOD_15 ( STRING_12 ) } ; } org . apache . cxf . IDENT_36 . IDENT_37 client = METHOD_18 ( IDENT_29 , IDENT_30 , ctx ) ; if ( ( IDENT_32 != null ) && ( ! ( "" . equals ( IDENT_32 ) ) ) ) { client . METHOD_19 ( ) . put ( Message . IDENT_38 , IDENT_32 ) ; } METHOD_20 ( IDENT_33 , IDENT_34 , client ) ; java . lang . Object [ ] result = client . invoke ( IDENT_31 , parameters ) ; org . kie . api . executor . IDENT_39 results = new org . kie . api . executor . METHOD_21 ( ) ; if ( ( result == null ) || ( ( result . length ) == 0 ) ) { results . METHOD_22 ( STRING_13 , null ) ; } else { results . METHOD_22 ( STRING_13 , result [ 0 ] ) ; } org . IDENT_1 . process . IDENT_40 . IDENT_41 . IDENT_42 . logger . debug ( STRING_14 , result ) ; return results ; } finally { java . lang . Thread . METHOD_12 ( ) . METHOD_23 ( IDENT_27 ) ; } }
org . junit . Assert . assertNull ( IDENT_21 )