Initialiser { public void initialise(Object object) { collectionOfMocksInitialiser.initialise(object); injector.inject(factory.createInjectionDetails(object)); }  void initialise(Object object);  }
@Test public void shouldInitialise() { Object object = mock(Object.class); InjectionDetails injectionDetails = mock(InjectionDetails.class); given(factory.createInjectionDetails(object)).willReturn(injectionDetails); initialiser.initialise(object); verify(collectionOfMocksInitialiser).initialise(object); verify(injector).inject(injectionDetails); }