METHOD_0 ( ) { java . util . List < com . baeldung . IDENT_0 . model . IDENT_1 > expected = IDENT_2 ; java . util . List < java . lang . Object [ ] > IDENT_3 = dao . METHOD_1 ( IDENT_2 . get ( 0 ) ) ; java . util . List < com . baeldung . IDENT_0 . model . IDENT_1 > results = new java . util . IDENT_4 < com . baeldung . IDENT_0 . model . IDENT_1 > ( ) ; for ( java . lang . Object [ ] IDENT_5 : IDENT_3 ) { results . add ( ( ( com . baeldung . IDENT_0 . model . IDENT_1 ) ( IDENT_5 [ 0 ] ) ) ) ; } "<AssertPlaceHolder>" ; } contains ( java . lang . Object ) { for ( java . lang . Object element : internal ) { if ( object . equals ( element ) ) { return true ; } } return false ; }
org . junit . Assert . assertThat ( results , contains ( expected . toArray ( ) ) )