@Test
public void testTraitWithNonAccessorMethodShadowing() {
StandaloneTraitFactory factory = new StandaloneTraitFactory( ProjectClassLoader.createProjectClassLoader() );
try {
SomeInterface r = (SomeInterface) factory.don( new SomeClass(), SomeInterface.class );
r.prepare();
assertEquals( 42, r.getFoo() );
assertEquals( "I did that", r.doThis( "that" ) );
} catch ( LogicalTypeInconsistencyException e ) {
e.printStackTrace();