use of org.drools.core.util.asm.BeanInherit in project drools by kiegroup.
the class ClassFieldAccessorTest method testInherited.
@Test
public void testInherited() throws Exception {
final ClassFieldReader ext = store.getReader(BeanInherit.class, "text");
final BeanInherit obj = new BeanInherit();
assertEquals("hola", (String) ext.getValue(null, obj));
}
use of org.drools.core.util.asm.BeanInherit in project drools by kiegroup.
the class BaseClassFieldAccessorFactoryTest method testInherited.
@Test
public void testInherited() throws Exception {
final InternalReadAccessor ex = store.getReader(BeanInherit.class, "text");
assertEquals("hola", ex.getValue(null, new BeanInherit()));
}
Aggregations