public void testTargetNonSelectionForMismatchedType() { testImpl2.interfaceMethod(); assertEquals( "Shouldn't have been advised by POJO advice for impl", 0, testAspectForTestImpl1.count); assertEquals( "Should have been advised by POJO advice for base type", 1, testAspectForAbstractTestImpl.count); assertEquals("Shouldn't have been advised by advisor", 0, testInterceptor.count); }