### Question:
PathComponents { int size() { return pathComponents.length; } PathComponents(String path);   }### Answer:
@Test public void size() { assertEquals(1, components1.size()); assertEquals(2, components2.size()); assertEquals(3, components3.size()); }