use of com.qcadoo.model.internal.types.PasswordType in project qcadoo by qcadoo.
the class FieldTypeFactoryTest method shouldReturnPasswordType.
@Test
public void shouldReturnPasswordType() throws Exception {
// when
PasswordEncoder passwordEncoder = mock(PasswordEncoder.class);
FieldType fieldType = new PasswordType(passwordEncoder);
// then
assertEquals(String.class, fieldType.getType());
}
Aggregations