METHOD_0 ( ) { IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new IDENT_0 . IDENT_1 . METHOD_1 ( ) ; java . lang . String [ ] array = new java . lang . String [ ] { STRING_0 , STRING_1 , STRING_0 , STRING_2 , STRING_1 , STRING_3 } ; java . lang . String [ ] IDENT_4 = new java . lang . String [ ] { STRING_0 , STRING_1 , STRING_2 , STRING_3 } ; "<AssertPlaceHolder>" ; } remove ( java . lang . String [ ] ) { int IDENT_5 = 0 ; for ( int i = 0 ; i < ( ( array . length ) - 1 ) ; i ++ ) { if ( ( array [ i ] ) != null ) { for ( int j = i + 1 ; j < ( array . length ) ; j ++ ) { if ( array [ i ] . equals ( array [ j ] ) ) { array [ j ] = null ; IDENT_5 ++ ; } } } } java . lang . String [ ] IDENT_6 = new java . lang . String [ ( array . length ) - IDENT_5 ] ; int index = 0 ; for ( java . lang . String element : array ) { if ( element != null ) { IDENT_6 [ index ] = element ; index ++ ; } } return IDENT_6 ; }
org . junit . Assert . assertThat ( IDENT_3 . remove ( array ) , org . hamcrest . core . Is . is ( IDENT_4 ) )