METHOD_0 ( ) { com . baeldung . java . collections . List < java . lang . String > IDENT_0 = new com . baeldung . java . collections . ArrayList ( asList ( STRING_0 , STRING_1 , STRING_2 , STRING_3 ) ) ; com . baeldung . java . collections . Iterator < java . lang . String > iterator = IDENT_0 . iterator ( ) ; while ( iterator . hasNext ( ) ) { java . lang . String next = iterator . next ( ) ; if ( com . baeldung . java . collections . IDENT_1 . equals ( next , STRING_1 ) ) iterator . remove ( ) ; } "<AssertPlaceHolder>" ; } remove ( ) { IDENT_2 . remove ( ) ; }
org . junit . Assert . assertEquals ( IDENT_0 , asList ( STRING_0 , STRING_2 , STRING_3 ) )