### Question:
PathComponents { String getPath() { return path; } PathComponents(String path);   }### Answer:
@Test public void getPath() { assertEquals("a", components1.getPath()); assertEquals("a+.bcd", components2.getPath()); assertEquals("a.bc.defg", components3.getPath()); }