public DefineSecretNumber(ILifetimeScope scope) { _registerSecretNumber = scope.Resolve <IRegisterSecretNumber <int> >(); _secretNumberBuilder = scope.Resolve <ISecretNumberBuilder <int> >(); }
public RegisterSecretNumberTests() { _repository = new Mock <ISecretNumberRepository>(); _instance = new RegisterSecretNumber <int>(_repository.Object); }