### Question:
EntityAnnotationGroup extends ForwardingQueue<EntityAnnotation> { public boolean intersects(EntityAnnotation annotation) { for (EntityAnnotation member : this) { if (member.intersects(annotation)) return true; } return false; }  boolean intersects(EntityAnnotation annotation); int getStart(); int getEnd(); Set<Entity> getAnnotations(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testIntersects() { assertFalse(group1.intersects(annot3)); assertTrue(group1.intersects(annot5)); assertTrue(group1.intersects(annot4)); }