private void checkPoints(Collection<Cache.Entry<Integer,EnemyCamp>> res,String... points){
  Set<String> set=new HashSet<>(Arrays.asList(points));
  assertEquals(set.size(),res.size());
  for (  Cache.Entry<Integer,EnemyCamp> e : res)   assertTrue(set.remove(e.getValue().name));
}

private void checkPoints ( Collection < Cache . Entry < Integer , EnemyCamp > > res , String ... points ) { Set < String > set = new HashSet < > ( Arrays . asList ( points ) ) ; assertEquals ( set . size ( ) , res . size ( ) ) ; for ( Cache . Entry < Integer , EnemyCamp > e : res ) assertTrue ( set . remove ( e . getValue ( ) . name ) ) ; }
check whether result contains all required points .
