示例#1
0
        private static State CreateBaseScenario(IFixtureClient fixtureClient, IGlobalSettingsClient settingsClient)
        {
            var slackTeamRepository = A.Fake <ISlackTeamRepository>();

            A.CallTo(() => slackTeamRepository.GetAllTeams()).Returns(new List <SlackTeam>
            {
                TestBuilder.SlackTeam()
            });
            _Mediator = A.Fake <IMediator>();
            return(new State(fixtureClient, settingsClient, _Mediator));
        }