METHOD_0 ( ) { org . drools . model . IDENT_0 < java . util . concurrent . atomic . IDENT_1 > IDENT_2 = org . drools . IDENT_3 . IDENT_4 . pattern . IDENT_5 . METHOD_1 ( java . util . concurrent . atomic . IDENT_1 . class , STRING_0 , STRING_1 ) ; org . drools . model . IDENT_0 < java . util . concurrent . atomic . IDENT_1 > IDENT_6 = org . drools . IDENT_3 . IDENT_4 . pattern . IDENT_5 . METHOD_1 ( java . util . concurrent . atomic . IDENT_1 . class , STRING_0 , STRING_2 ) ; org . drools . model . IDENT_0 < java . util . List > IDENT_7 = org . drools . IDENT_3 . IDENT_4 . pattern . IDENT_5 . METHOD_1 ( java . util . List . class , STRING_0 , STRING_3 ) ; org . drools . model . IDENT_8 < java . lang . Integer > IDENT_9 = org . drools . IDENT_3 . IDENT_4 . pattern . IDENT_5 . METHOD_2 ( java . lang . Integer . class , STRING_4 ) ; org . drools . model . IDENT_10 IDENT_11 = org . drools . IDENT_3 . IDENT_4 . pattern . IDENT_5 . rule ( STRING_5 ) . METHOD_3 ( IDENT_10 . IDENT_12 . IDENT_13 , org . drools . model . IDENT_14 . METHOD_4 ( IDENT_2 , ( IDENT_15 ) -> IDENT_15 . get ( ) ) ) . build ( org . drools . IDENT_3 . IDENT_4 . pattern . IDENT_5 . pattern ( IDENT_9 ) , org . drools . IDENT_3 . IDENT_4 . pattern . IDENT_5 . METHOD_5 ( IDENT_9 , IDENT_2 , IDENT_7 ) . execute ( ( drools , IDENT_16 , IDENT_15 , list ) -> { drools . delete ( IDENT_16 ) ; IDENT_15 . METHOD_6 ( ) ; list . add ( 1 ) ; } ) ) ; org . drools . model . IDENT_10 IDENT_17 = org . drools . IDENT_3 . IDENT_4 . pattern . IDENT_5 . rule ( STRING_6 ) . METHOD_3 ( IDENT_10 . IDENT_12 . IDENT_13 , org . drools . model . IDENT_14 . METHOD_4 ( IDENT_6 , ( IDENT_18 ) -> IDENT_18 . get ( ) ) ) . build ( org . drools . IDENT_3 . IDENT_4 . pattern . IDENT_5 . pattern ( IDENT_9 ) , org . drools . IDENT_3 . IDENT_4 . pattern . IDENT_5 . METHOD_5 ( IDENT_9 , IDENT_7 , IDENT_6 ) . execute ( ( drools , IDENT_16 , list , IDENT_18 ) -> { drools . delete ( IDENT_16 ) ; IDENT_18 . METHOD_6 ( ) ; list . add ( 2 ) ; } ) ) ; org . drools . model . IDENT_19 model = new org . drools . model . impl . METHOD_7 ( ) . METHOD_8 ( IDENT_11 ) . METHOD_8 ( IDENT_17 ) . METHOD_9 ( IDENT_2 ) . METHOD_9 ( IDENT_6 ) . METHOD_9 ( IDENT_7 ) ; org . kie . api . IDENT_20 IDENT_21 = org . drools . IDENT_3 . builder . IDENT_22 . METHOD_10 ( model , IDENT_23 . IDENT_24 ) ; org . kie . api . runtime . IDENT_25 IDENT_26 = IDENT_21 . METHOD_11 ( ) ; try { final java . util . List < java . lang . Integer > list = new java . util . ArrayList ( ) ; IDENT_26 . METHOD_12 ( STRING_3 , list ) ; IDENT_26 . METHOD_12 ( STRING_1 , new java . util . concurrent . atomic . METHOD_13 ( 9 ) ) ; IDENT_26 . METHOD_12 ( STRING_2 , new java . util . concurrent . atomic . METHOD_13 ( 10 ) ) ; for ( int i = 0 ; i < 10 ; i ++ ) { IDENT_26 . insert ( i ) ; IDENT_26 . METHOD_14 ( ) ; } "<AssertPlaceHolder>" ; } finally { IDENT_26 . METHOD_15 ( ) ; } } METHOD_14 ( ) { return 0 ; }
org . junit . Assert . assertEquals ( list , java . util . Arrays . asList ( 2 , 1 , 2 , 1 , 2 , 1 , 2 , 1 , 2 , 1 ) )