use of org.drools.core.base.ConcreteChild in project drools by kiegroup.
the class ClassFieldAccessorTest method testMultipleInterfaces.
@Test
public void testMultipleInterfaces() throws Exception {
final ConcreteChild obj = new ConcreteChild();
final ClassFieldReader ext = store.getReader(InterfaceChild.class, "foo");
assertEquals(42, ((Number) ext.getValue(null, obj)).intValue());
}
Aggregations