use of org.kie.workbench.common.stunner.core.definition.property.type.BooleanType in project kie-wb-common by kiegroup.
the class ClientBindablePropertyAdapterTest method testDefaultTypes.
@Test
public void testDefaultTypes() {
types.put(Foo.class, new StringType());
types.put(Bar.class, new BooleanType());
final PropertyType fooType = clientBindablePropertyAdapter.getType(new Foo());
final PropertyType barType = clientBindablePropertyAdapter.getType(new Bar());
assertEquals(StringType.class, fooType.getClass());
assertEquals(BooleanType.class, barType.getClass());
}
Aggregations