use of org.drools.workbench.models.testscenarios.shared.Fact in project drools by kiegroup.
the class FieldPopulatorFactoryTest method testFactAssignmentField.
@Test
public void testFactAssignmentField() throws Exception {
FactAssignmentField field = new FactAssignmentField();
field.setFact(new Fact());
Mockito.<Class>when(typeResolver.resolveType(Matchers.<String>any())).thenReturn(Cheese.class);
FieldPopulator fieldPopulator = fieldPopulatorFactory.getFieldPopulator(field);
assertNotNull(fieldPopulator);
}
Aggregations