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