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