BoxInformation.PresenterDecorators.SearchPresenterDecorator.GetSearchResults C# (CSharp) Method

GetSearchResults() public method

public GetSearchResults ( ) : void
return void
        public void GetSearchResults()
        {
            logger.Log("Call GetSearchResults");
            presenter.GetSearchResults();
        }

Usage Example

        public void Should_log_GetSearchResults_was_called()
        {
            var target = new SearchPresenterDecorator(fakePresenter, fakeLogger);

            target.GetSearchResults();

            fakeLogger.Received().Log(Arg.Any<string>());
        }