public static SchemaPath schemaPathFromPath(String path) {
    return new SchemaPath(path);
  }
@Test
  public void schemaPathFromPathWellFormed() {
    SchemaPath path = PubsubClient.schemaPathFromPath("projects/projectId/schemas/schemaId");
    assertEquals("projects/projectId/schemas/schemaId", path.getPath());
    assertEquals("schemaId", path.getId());
  }