private void assertTagsMatchPoints(List<Element> tags,MyTracksLocation... locations){
  assertEquals(locations.length,tags.size());
  for (int i=0; i < locations.length; i++) {
    assertTagMatchesLocation(tags.get(i),locations[i]);
  }
}

private void assertTagsMatchPoints ( List < Element > tags , MyTracksLocation ... locations ) { assertEquals ( locations . length , tags . size ( ) ) ; for ( int i = 0 ; i < locations . length ; i ++ ) { assertTagMatchesLocation ( tags . get ( i ) , locations [ i ] ) ; } }
asserts that the given tags describe the given locations in the same order .
