assertTrue(sc.getPostConstructCalledTimestampInSuper() > 0);
}
@Test
public void testOverriddenPostConstruct() {
SubClassOverriddenPostConstruct sc = factory.getAdapter(resource, SubClassOverriddenPostConstruct.class);
assertEquals("Post construct not called exactly one time in sub class!", 1, sc.getPostConstructorCalledCounter());
assertEquals("Post construct was called on super class although overridden in sub class", 0, sc.getPostConstructCalledTimestampInSuper());
}