@Test
public void sayGoodMorning() {

    HeaderPresenter presenter = new HeaderPresenter(new DateProvider() {
        @Override
        public boolean isMorning() {
            return true;
        }
    });
    presenter.onCreate(view, Bundle.EMPTY);
    verify(view).sayHello(R.string.good_morning);
}