METHOD_0 ( ) { org . drools . workbench . models . IDENT_0 . IDENT_1 . backend . util . IDENT_2 persistence = new org . drools . workbench . models . IDENT_0 . IDENT_1 . backend . util . METHOD_1 ( ( key ) -> "value" ) ; org . drools . workbench . models . datamodel . rule . IDENT_3 IDENT_4 = new org . drools . workbench . models . datamodel . rule . METHOD_2 ( ) ; IDENT_4 . name = STRING_0 ; IDENT_4 . METHOD_3 ( new org . drools . workbench . models . IDENT_0 . IDENT_1 . backend . IDENT_5 . METHOD_4 ( STRING_1 ) ) ; java . lang . String result = persistence . METHOD_5 ( IDENT_4 ) ; java . lang . String expected = STRING_2 + ( ( ( ( STRING_3 + STRING_4 ) + STRING_5 ) + STRING_6 ) + STRING_7 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . Object ) { try ( java . io . IDENT_6 writer = new java . io . StringWriter ( ) ; org . kie . IDENT_7 . backend . IDENT_8 . IDENT_9 IDENT_10 = ( ( org . kie . IDENT_7 . backend . IDENT_8 . IDENT_9 ) ( org . kie . IDENT_7 . backend . IDENT_8 . IDENT_11 . IDENT_12 . IDENT_13 . IDENT_14 . METHOD_6 ( writer ) ) ) ) { com . IDENT_15 . IDENT_12 . IDENT_16 IDENT_17 = METHOD_7 ( ) ; if ( o instanceof org . kie . IDENT_7 . model . api . IDENT_18 ) { org . kie . IDENT_7 . model . IDENT_11 . IDENT_19 base = ( ( org . kie . IDENT_7 . model . IDENT_11 . IDENT_19 ) ( o ) ) ; java . lang . String IDENT_20 = base . METHOD_8 ( ) . entrySet ( ) . stream ( ) . filter ( ( IDENT_21 ) -> IDENT_19 . IDENT_22 . equals ( IDENT_21 . getValue ( ) ) ) . METHOD_9 ( ) . map ( java . util . Map . Entry :: getKey ) . METHOD_10 ( "" ) ; IDENT_10 . METHOD_11 ( ) . METHOD_12 ( IDENT_20 ) ; } IDENT_23 . METHOD_13 ( ( r ) -> r . METHOD_14 ( o , IDENT_10 . METHOD_11 ( ) ) ) ; IDENT_17 . METHOD_5 ( o , IDENT_10 ) ; IDENT_10 . METHOD_15 ( ) ; return writer . toString ( ) ; } catch ( java . lang . Exception e ) { org . kie . IDENT_7 . backend . IDENT_8 . IDENT_11 . IDENT_12 . IDENT_13 . logger . error ( STRING_8 , e ) ; } return null ; }
org . junit . Assert . assertEquals ( expected , result )