### Question:
LiteSchemaInfo extends IdentitySchemaInfo { public static <T extends LiteSchemaInfo> LiteSchemaInfo cast(T schemaInfo) { return builder(schemaInfo).build(); } @JsonCreator  LiteSchemaInfo(
            @JsonProperty("subject") String subject,
            @JsonProperty("version") int version,
            @JsonProperty("schemaRegistryId") int schemaRegistryId,
            @JsonProperty("name") String name,
            @JsonProperty("namespace") String namespace,
            @JsonProperty("fullName") String fullName,
            @JsonProperty("compatibility") AvroCompatibilityLevel compatibility,
            @JsonProperty("mode") Mode mode,
            @JsonProperty("versionLatest") boolean versionLatest,
            @JsonProperty("deleted") boolean deleted); String getName(); String getNamespace(); String getFullName(); AvroCompatibilityLevel getCompatibility(); Mode getMode(); boolean isVersionLatest(); boolean isDeleted(); @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(LiteSchemaInfo origin); static LiteSchemaInfo cast(T schemaInfo);  }### Answer:
@Test public void testCasted() throws Exception { LiteSchemaInfo origin = SchemaTestData.randomLiteSchemaInfo(); IdentitySchemaInfo schemaInfo = IdentitySchemaInfo.cast(origin); Assert.assertNotNull(schemaInfo); Assert.assertNotEquals(origin, schemaInfo); }