METHOD_0 ( ) { doReturn ( IDENT_0 . IDENT_1 ) . when ( plugin ) . METHOD_1 ( ) ; when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( STRING_0 ) ; when ( plugin . METHOD_3 ( ) ) . thenReturn ( IDENT_2 ) ; when ( IDENT_3 . METHOD_4 ( ) ) . thenReturn ( IDENT_4 ) ; when ( IDENT_4 . METHOD_5 ( STRING_0 , STRING_1 ) ) . thenReturn ( false ) ; final java . util . List < java . lang . String > expected = new java . util . ArrayList < java . lang . String > ( ) { { add ( STRING_2 ) ; add ( STRING_1 ) ; add ( STRING_3 ) ; } } ; final java . util . List < java . lang . String > result = new java . util . ArrayList ( ) ; final org . kie . IDENT_5 . project . datamodel . IDENT_4 . IDENT_6 [ ] IDENT_7 = new org . kie . IDENT_5 . project . datamodel . IDENT_4 . IDENT_6 [ ] { METHOD_6 ( STRING_2 , IDENT_8 . IDENT_9 ) , METHOD_6 ( STRING_1 , IDENT_8 . IDENT_9 ) , METHOD_6 ( STRING_3 , IDENT_8 . IDENT_9 ) } ; final org . IDENT_10 . client . IDENT_11 . IDENT_12 < org . kie . IDENT_5 . project . datamodel . IDENT_4 . IDENT_6 [ ] > IDENT_13 = page . METHOD_7 ( result :: add ) ; METHOD_7 . METHOD_8 ( IDENT_7 ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( org . drools . workbench . models . IDENT_14 . IDENT_15 . shared . IDENT_16 . IDENT_17 ) { IDENT_18 . METHOD_9 ( ) ; if ( ( response . METHOD_10 ( ) . size ( ) ) > 0 ) { final org . drools . workbench . IDENT_19 . IDENT_20 . client . widgets . IDENT_21 IDENT_22 = new org . drools . workbench . IDENT_19 . IDENT_20 . client . widgets . METHOD_11 ( ) ; for ( org . drools . workbench . models . IDENT_14 . IDENT_15 . shared . IDENT_16 . IDENT_23 message : response . METHOD_10 ( ) ) { IDENT_22 . METHOD_12 ( new org . drools . workbench . IDENT_19 . IDENT_20 . client . widgets . METHOD_13 ( message ) ) ; } IDENT_22 . METHOD_14 ( ) ; } }
org . junit . Assert . assertEquals ( expected , result )