METHOD_0 ( ) { org . drools . model . IDENT_0 < java . util . List > IDENT_1 = org . drools . IDENT_2 . IDENT_3 . pattern . IDENT_4 . METHOD_1 ( java . util . List . class , STRING_0 , STRING_1 ) ; org . drools . model . IDENT_5 < java . lang . Integer > IDENT_6 = org . drools . IDENT_2 . IDENT_3 . pattern . IDENT_4 . METHOD_2 ( java . lang . Integer . class , STRING_2 ) ; org . drools . model . IDENT_5 < java . lang . String > IDENT_7 = org . drools . IDENT_2 . IDENT_3 . pattern . IDENT_4 . METHOD_2 ( java . lang . String . class , STRING_3 ) ; org . drools . model . IDENT_8 IDENT_9 = org . drools . IDENT_2 . IDENT_3 . pattern . IDENT_4 . rule ( STRING_4 ) . METHOD_3 ( IDENT_8 . IDENT_10 . IDENT_11 , org . drools . model . IDENT_12 . METHOD_4 ( IDENT_7 , ( s ) -> s . length ( ) ) ) . build ( org . drools . IDENT_2 . IDENT_3 . pattern . IDENT_4 . pattern ( IDENT_7 ) , org . drools . IDENT_2 . IDENT_3 . pattern . IDENT_4 . METHOD_5 ( IDENT_1 , IDENT_7 ) . execute ( ( list , IDENT_13 ) -> { list . add ( IDENT_13 ) ; } ) ) ; org . drools . model . IDENT_8 IDENT_14 = org . drools . IDENT_2 . IDENT_3 . pattern . IDENT_4 . rule ( STRING_5 ) . METHOD_3 ( IDENT_8 . IDENT_10 . IDENT_11 , org . drools . model . IDENT_12 . METHOD_4 ( IDENT_6 , ( i ) -> i ) ) . build ( org . drools . IDENT_2 . IDENT_3 . pattern . IDENT_4 . pattern ( IDENT_6 ) , org . drools . IDENT_2 . IDENT_3 . pattern . IDENT_4 . METHOD_5 ( IDENT_6 , IDENT_1 ) . execute ( ( IDENT_15 , list ) -> { list . add ( IDENT_15 ) ; } ) ) ; org . drools . model . IDENT_16 model = new org . drools . model . impl . METHOD_6 ( ) . METHOD_7 ( IDENT_9 ) . METHOD_7 ( IDENT_14 ) . METHOD_8 ( IDENT_1 ) ; org . kie . api . runtime . IDENT_17 IDENT_18 = org . drools . IDENT_2 . builder . IDENT_19 . METHOD_9 ( model ) . METHOD_10 ( ) ; java . util . List list = new java . util . ArrayList ( ) ; IDENT_18 . METHOD_11 ( STRING_1 , list ) ; IDENT_18 . insert ( STRING_6 ) ; IDENT_18 . insert ( "test" ) ; IDENT_18 . insert ( 3 ) ; IDENT_18 . insert ( 1 ) ; IDENT_18 . METHOD_12 ( ) ; "<AssertPlaceHolder>" ; } METHOD_12 ( ) { return 0 ; }
org . junit . Assert . assertEquals ( list , java . util . Arrays . asList ( "test" , 3 , STRING_6 , 1 ) )