question: private < T > void assertContains ( final T [ ] expectedEntries , final Collection < T > collection ) { assertEquals ( expectedEntries . length , collection . size ( ) ) ; for ( T t : expectedEntries ) { assertTrue ( collection . contains ( t ) ) ; } }
target:  Checks that the given collection contains exactly all of the exptectedEntries, but none more.