### Question:
BasicSchemaInfo extends IdentitySchemaInfo implements Schemafull { public static <T extends BasicSchemaInfo> BasicSchemaInfo cast(T schemaInfo) { return builder(schemaInfo).build(); } BasicSchemaInfo(
            @JsonProperty("subject") String subject,
            @JsonProperty("version") int version,
            @JsonProperty("schemaRegistryId") int schemaRegistryId,
            @JsonProperty("schemaJson") String schemaJson); @Override String getSchemaJson(); @JsonIgnore @Override Schema getSchemaAvro(); @JsonIgnore @Override List<FieldInfo> getSchemaFieldInfosAsList(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @SuppressWarnings("rawtypes") @Override Builder toBuilder(); static Builder<? extends Builder<?>> builder(); static Builder<? extends Builder<?>> builder(BasicSchemaInfo origin); static BasicSchemaInfo cast(T schemaInfo);  }### Answer:
@Test public void testCasted() throws Exception { BasicSchemaInfo origin = SchemaTestData.randomBasicSchemaInfo(); IdentitySchemaInfo schemaInfo = IdentitySchemaInfo.cast(origin); Assert.assertNotNull(schemaInfo); Assert.assertNotEquals(origin, schemaInfo); }