Пример #1
0
 public bool GetToggleState(string toggleKey)
 {
     return(_repo.Get(toggleKey));
 }
Пример #2
0
 private void GivenTheStateRepoWillReturnAToggleState()
 {
     _expectedState = _fixture.Create <bool>();
     _repo.Get(Arg.Any <string>()).ReturnsForAnyArgs(_expectedState);
 }