### Question:
ComponentCollision implements ComponentUpdater, HandlerListener, TransformableListener { public Collection<Collidable> getInside(Area area) { final Collection<Collidable> inside = new HashSet<>(); final Collection<Point> points = getPoints(area); for (final Map<Point, Set<Collidable>> groups : collidables.values()) { for (final Point point : points) { final Collection<Collidable> elements = groups.get(point); if (elements != null) { checkInside(elements, area, inside); } } } return inside; } ComponentCollision(); Collection<Collidable> getInside(Area area); @Override void update(double extrp, Handlables objects); @Override void notifyHandlableAdded(Featurable featurable); @Override void notifyHandlableRemoved(Featurable featurable); @Override void notifyTransformed(Transformable transformable);  }### Answer:
@Test void testGetInside() { transformable1.teleport(20.0, 20.0); transformable2.teleport(30.0, 30.0); handler.update(1.0); assertTrue(component.getInside(Geom.createArea(0, 0, 16, 16)).isEmpty()); assertEquals(2, component.getInside(Geom.createArea(15, 15, 32, 32)).size()); }