use of io.vertigo.dynamo.domain.metamodel.ConstraintDefinition in project vertigo by KleeGroup.
the class OOMEnvironmentManagerTest method testConstraint.
@Test
public void testConstraint() {
final DefinitionSpace definitionSpace = getApp().getDefinitionSpace();
final ConstraintDefinition constraint = definitionSpace.resolve("CK_TELEPHONE", ConstraintDefinition.class);
Assert.assertEquals(DtProperty.REGEX, constraint.getProperty());
}
use of io.vertigo.dynamo.domain.metamodel.ConstraintDefinition in project vertigo by KleeGroup.
the class EAXmiEnvironmentManagerTest method testConstraint.
@Test
public void testConstraint() {
final ConstraintDefinition constraint = definitionSpace.resolve("CK_TELEPHONE", ConstraintDefinition.class);
Assert.assertEquals(DtProperty.REGEX, constraint.getProperty());
}
Aggregations