public SchemaCreateRequestAssert matches(SchemaCreateRequest schema) { assertNotNull(schema); assertNotNull(actual); assertEquals("The name of the schemas do not match.", actual.getName(), schema.getName()); assertEquals("The description of the schemas do not match.", actual.getDescription(), schema.getDescription()); assertEquals("The displayField of the schemas do not match.", actual.getDisplayField(), schema.getDisplayField()); assertEquals("The segmentField of the schemas do not match.", actual.getSegmentField(), schema.getSegmentField()); // TODO assert for schema properties return this; }
public SchemaCreateRequestAssert matches(SchemaResponse response) { assertNotNull(response); assertNotNull(actual); assertEquals("The name of the schemas do not match.", actual.getName(), response.getName()); assertEquals("The description of the schemas do not match.", actual.getDescription(), response.getDescription()); assertEquals("The displayField of the schemas do not match.", actual.getDisplayField(), response.getDisplayField()); assertEquals("The segmentField of the schemas do not match.", actual.getSegmentField(), response.getSegmentField()); // TODO assert for schema properties return this; }