METHOD_0 ( ) { final org . drools . workbench . models . datamodel . IDENT_0 . IDENT_1 IDENT_2 = METHOD_1 ( STRING_0 ) ; final org . drools . workbench . models . datamodel . IDENT_0 . IDENT_1 IDENT_3 = METHOD_1 ( STRING_1 ) ; final java . util . HashSet < org . drools . workbench . models . datamodel . IDENT_0 . IDENT_1 > IDENT_4 = new java . util . HashSet < org . drools . workbench . models . datamodel . IDENT_0 . IDENT_1 > ( ) { { add ( IDENT_2 ) ; add ( IDENT_3 ) ; } } ; when ( IDENT_5 . METHOD_2 ( ) ) . thenReturn ( IDENT_4 ) ; final org . drools . workbench . models . datamodel . IDENT_0 . IDENT_1 IDENT_6 = plugin . METHOD_3 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { final java . util . List < org . drools . workbench . models . datamodel . IDENT_0 . IDENT_1 > IDENT_7 = new java . util . ArrayList ( IDENT_5 . METHOD_2 ( ) ) ; return IDENT_7 . stream ( ) . filter ( ( a ) -> a . getName ( ) . equals ( IDENT_6 ) ) . METHOD_4 ( ) . METHOD_5 ( IllegalStateException :: new ) ; }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_6 )