public static RelativeUnixPath get(String relativePath) {
    if (relativePath.startsWith("/")) {
      throw new IllegalArgumentException("Path starts with forward slash (/): " + relativePath);
    }

    return new RelativeUnixPath(UnixPathParser.parse(relativePath));
  }
@Test
  public void testGet_absolute() {
    try {
      RelativeUnixPath.get("/absolute");
      Assert.fail();

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