use of org.drools.core.util.asm.TestBean in project drools by kiegroup.
the class ClassFieldAccessorTest method testNonExistentField.
@Test
public void testNonExistentField() throws Exception {
final Object[] objArray = new Object[1];
final TestBean obj = new TestBean();
obj.setBlah(false);
obj.setSomething("no");
obj.setObjArray(objArray);
ClassFieldReader ext = store.getReader(TestBean.class, "xyz");
assertNull(ext);
}
Aggregations