### Question:
Item { public boolean collision(PaintView paintView) { return collision(paintView.getCircleX(), paintView.getCircleY(), paintView.getCircleRadius()); } Item(int posX, int posY, int radius); int getX(); int getY(); int getRadius(); boolean collision(PaintView paintView); abstract void activate(final PaintView paintView); abstract String getTextFeedback(); int getColorId();  }### Answer:
@Test public void testCollisions() { SpeedupItem speedupItem = new SpeedupItem(0, 0, 10); assertThat(speedupItem.collision(21, 0, 10), is(false)); assertThat(speedupItem.collision(20, 0, 11), is(true)); }