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() {
    Assert.assertEquals(
        ImmutableList.of("some", "relative", "path"),
        RelativeUnixPath.get("some/relative///path").getRelativePathComponents());
  }