public void GetSearchResults() { logger.Log("Call GetSearchResults"); presenter.GetSearchResults(); }
public void Should_log_GetSearchResults_was_called() { var target = new SearchPresenterDecorator(fakePresenter, fakeLogger); target.GetSearchResults(); fakeLogger.Received().Log(Arg.Any<string>()); }