### Question:
ClientDomainSchema extends ClientResource<ClientDomainSchema> implements DeepCloneable<ClientDomainSchema> { @XmlTransient public Schema getSchema() { return schema; } ClientDomainSchema();  ClientDomainSchema(Schema schema);  ClientDomainSchema(ClientDomainSchema source); @Override ClientDomainSchema deepClone(); @XmlTransient Schema getSchema(); ClientDomainSchema setSchema(Schema schema); @XmlElementWrapper(name = "resources") @XmlElements({ @XmlElement(name="group", type = ResourceGroupElement.class), @XmlElement(name="queryGroup", type = QueryResourceGroupElement.class), @XmlElement(name="element", type = ResourceSingleElement.class), @XmlElement(name = "constantsGroup", type = ConstantsResourceGroupElement.class), @XmlElement(name="joinGroup", type = JoinResourceGroupElement.class) }) List<ResourceElement> getResources(); ClientDomainSchema setResources(List<ResourceElement> resources); @XmlElementWrapper(name="presentation") @XmlElement(name="dataIsland") List<PresentationGroupElement> getPresentation(); ClientDomainSchema setPresentation(List<PresentationGroupElement> presentation); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void instanceCreatedFromSchemaParameterHaveSameSchema() { ClientDomainSchema result = new ClientDomainSchema(fullyConfiguredTestInstance.getSchema()); assertEquals(fullyConfiguredTestInstance.getSchema(), result.getSchema()); }
@Test public void instanceCreatedFromNullSchemaParameterHasSchema() { ClientDomainSchema result = new ClientDomainSchema(((Schema) null)); assertEquals(new Schema(), result.getSchema()); }