Search in sources :

Example 1 with TestAbstract

use of org.drools.core.util.asm.TestAbstract in project drools by kiegroup.

the class ClassFieldAccessorTest method testAbstract.

@Test
public void testAbstract() throws Exception {
    final ClassFieldReader ext = store.getReader(TestAbstract.class, "something");
    final TestAbstract obj = new TestAbstractImpl();
    assertEquals("foo", (String) ext.getValue(null, obj));
}
Also used : TestAbstractImpl(org.drools.core.util.asm.TestAbstractImpl) TestAbstract(org.drools.core.util.asm.TestAbstract) Test(org.junit.Test)

Aggregations

TestAbstract (org.drools.core.util.asm.TestAbstract)1 TestAbstractImpl (org.drools.core.util.asm.TestAbstractImpl)1 Test (org.junit.Test)1