### Question:
Path { public Path() { super(); } Path(); void prependStep(int x, int y); int getLength(); int getX(int index); int getY(int index); void clear();  }### Answer:
@Test void testPath() { final Path path = new Path(); assertEquals(0, path.getLength()); path.prependStep(1, 2); assertEquals(1, path.getLength()); assertEquals(1, path.getX(0)); assertEquals(2, path.getY(0)); }