use of com.qcadoo.model.internal.types.BooleanType in project qcadoo by qcadoo.
the class FieldTypeFactoryTest method shouldReturnBooleanType.
@Test
public void shouldReturnBooleanType() throws Exception {
// when
FieldType fieldType = new BooleanType();
// then
assertEquals(Boolean.class, fieldType.getType());
assertTrue(fieldType.toObject(fieldDefinition, false).isValid());
}
Aggregations