METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 test = new com . IDENT_0 . IDENT_1 . METHOD_1 ( ) ; int [ ] IDENT_3 = new int [ ] { 1 , 2 , 2 , 1 } ; int [ ] IDENT_4 = new int [ ] { 2 , 2 } ; int [ ] expected = new int [ ] { 2 } ; "<AssertPlaceHolder>" ; } METHOD_2 ( int [ ] , int [ ] ) { java . util . HashSet < java . lang . Integer > IDENT_5 = new java . util . HashSet ( ) ; java . util . HashSet < java . lang . Integer > IDENT_6 = new java . util . HashSet ( ) ; for ( int i : IDENT_7 ) { IDENT_5 . add ( i ) ; } for ( int i : IDENT_8 ) { if ( IDENT_5 . contains ( i ) ) { IDENT_6 . add ( i ) ; } } return toArray ( IDENT_6 ) ; }
org . junit . Assert . assertArrayEquals ( test . METHOD_2 ( IDENT_3 , IDENT_4 ) , expected )