@Test
public void shouldNotifyOnAttach() {

    dispatcher.onAttach(fragment, activity);
    verify(lifeCycleComponent1).onAttach(fragment, activity);
    verify(lifeCycleComponent2).onAttach(fragment, activity);
}