METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; java . util . List < java . lang . String > IDENT_2 = IDENT_1 . stream ( ) . map ( IDENT_3 :: getName ) . collect ( java . util . stream . IDENT_4 . toList ( ) ) ; java . util . Collection < java . lang . String > result = service . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return IDENT_0 . METHOD_1 ( ) . stream ( ) . map ( IDENT_3 :: getName ) . collect ( java . util . stream . IDENT_4 . toList ( ) ) ; }
org . junit . Assert . assertEquals ( IDENT_2 , result )