### Question:
ComponentInstantiationListenerFacade implements IComponentInstantiationListener { public void onInstantiation(Component component) { toWrap.inject(component, component.getClass()); } ComponentInstantiationListenerFacade(PaxWicketInjector toWrap); void onInstantiation(Component component);  }### Answer:
@Test public void testCallToFacade_shouldBeForwardedToRealClass() { Component component = mock(Component.class); PaxWicketInjector injector = mock(PaxWicketInjector.class); new ComponentInstantiationListenerFacade(injector).onInstantiation(component); verify(injector).inject(component, component.getClass()); }