public async Task When_Configurations_Are_Retrieved_Then_Operation_Is_Called()
        {
            // ARRANGE
            InitializeFakeObjects();

            // ACT
            await _getAllSettingAction.Execute();

            // ASSERT
            _settingRepositoryStub.Verify(c => c.GetAll());
        }
Example #2
0
 public Task <ICollection <Models.Setting> > GetSettings()
 {
     return(_getAllSettingAction.Execute());
 }