@Test
public void invokesInitializeMethodWithDefaultLifecycleMethodStrategy() throws Exception {

    Resource instance  = new Resource();
    LifecycleComponent lifecycleComponent = new LifecycleComponent(instance);
    lifecycleComponent.initialize();
    assertEquals(1, instance.initVisitsCounter.get());
}