METHOD_0 ( ) { final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 IDENT_3 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 . class ) ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 IDENT_4 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 . class ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 > IDENT_5 = asList ( IDENT_3 , IDENT_4 ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 > IDENT_6 = asList ( IDENT_4 , IDENT_3 ) ; when ( IDENT_7 . METHOD_1 ( ) ) . thenReturn ( IDENT_5 ) ; when ( IDENT_3 . getName ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_4 . getName ( ) ) . thenReturn ( "a" ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 > IDENT_8 = utils . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return IDENT_7 . METHOD_1 ( ) . stream ( ) . METHOD_3 ( java . util . IDENT_9 . METHOD_4 ( IDENT_2 :: getName ) ) . collect ( java . util . stream . IDENT_10 . toList ( ) ) ; }
org . junit . Assert . assertEquals ( IDENT_6 , IDENT_8 )