METHOD_0 ( ) { com . IDENT_0 . data . api . IDENT_1 IDENT_2 = mock ( com . IDENT_0 . data . api . IDENT_1 . class ) ; java . util . List < java . lang . String > IDENT_3 = java . util . Arrays . asList ( STRING_0 , STRING_1 , STRING_2 ) ; when ( IDENT_2 . METHOD_1 ( STRING_3 ) ) . thenReturn ( IDENT_3 ) ; com . IDENT_0 . business . IDENT_4 IDENT_5 = new com . IDENT_0 . business . METHOD_2 ( IDENT_2 ) ; java . util . List < java . lang . String > IDENT_6 = IDENT_5 . METHOD_3 ( STRING_3 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { java . util . List < java . lang . String > IDENT_7 = new java . util . ArrayList < java . lang . String > ( ) ; java . util . List < java . lang . String > IDENT_3 = IDENT_2 . METHOD_1 ( user ) ; for ( java . lang . String IDENT_8 : IDENT_3 ) { if ( IDENT_8 . contains ( STRING_4 ) ) { IDENT_7 . add ( IDENT_8 ) ; } } return IDENT_7 ; }
org . junit . Assert . assertEquals ( 2 , IDENT_6 . size ( ) )