use of eu.esdihumboldt.hale.common.schema.model.constraint.type.factory.GeometryMetadataFactory in project hale by halestudio.
the class GeometryMetadataFactoryTest method testAlias.
/**
* Test if alias "jdbc.geometry" for geometry metadata constraint is
* working.
*/
@Test
public void testAlias() {
ValueConstraintFactoryDescriptor desc = ValueConstraintExtension.INSTANCE.get("jdbc.geometry");
assertNotNull(desc);
assertEquals(GeometryMetadata.class, desc.getConstraintType());
assertTrue(desc.getFactory() instanceof GeometryMetadataFactory);
}
Aggregations