METHOD_0 ( ) { com . baeldung . IDENT_0 . Iterator < java . lang . String > i = IDENT_1 . iterator ( ) ; while ( i . hasNext ( ) ) { java . lang . String e = i . next ( ) ; if ( e . startsWith ( STRING_0 ) ) { i . remove ( ) ; } } "<AssertPlaceHolder>" ; } remove ( ) { com . baeldung . IDENT_2 . IDENT_3 . security . IDENT_4 . IDENT_5 IDENT_6 = new com . baeldung . IDENT_2 . IDENT_3 . security . IDENT_4 . METHOD_1 ( IDENT_7 , IDENT_8 , IDENT_9 ) ; IDENT_6 . remove ( IDENT_7 ) ; org . junit . Assert . assertEquals ( 2 , IDENT_6 . size ( ) ) ; org . junit . Assert . assertFalse ( IDENT_6 . contains ( IDENT_7 ) ) ; org . junit . Assert . assertFalse ( IDENT_6 . contains ( com . baeldung . IDENT_2 . IDENT_3 . security . IDENT_4 . IDENT_10 . IDENT_11 ) ) ; org . junit . Assert . assertTrue ( IDENT_6 . contains ( IDENT_8 ) ) ; org . junit . Assert . assertTrue ( IDENT_6 . contains ( com . baeldung . IDENT_2 . IDENT_3 . security . IDENT_4 . IDENT_10 . IDENT_12 ) ) ; }
org . junit . Assert . assertThat ( IDENT_1 , org . hamcrest . Matchers . is ( expected ) )