public ProductServiceTests()
 {
     _proxy   = Substitute.For <IDevChallengeResourceProxy>();
     _options = Options.Create(new UserSetting());
 }
示例#2
0
 public ProductService(IDevChallengeResourceProxy devChallengeResourceProxy, IOptions <UserSetting> userSettingOptions)
 {
     _devChallengeResourceProxy = devChallengeResourceProxy;
     _userSetting = userSettingOptions.Value;
 }