public static AbsoluteUnixPath get(String unixPath) {
    if (!unixPath.startsWith("/")) {
      throw new IllegalArgumentException("Path does not start with forward slash (/): " + unixPath);
    }

    return new AbsoluteUnixPath(UnixPathParser.parse(unixPath));
  }
@Test
  public void testGet_notAbsolute() {
    try {
      AbsoluteUnixPath.get("not/absolute");
      Assert.fail();

    } catch (IllegalArgumentException ex) {
      Assert.assertEquals(
          "Path does not start with forward slash (/): not/absolute", ex.getMessage());
    }
  }