public void WhenEmailIsAlreadyRegisteredADuplicateAccountExceptionIsThrown() { _registerAccountScenario.Execute(); Assert.Throws <DuplicateAccountException>(() => _registerAccountScenario.Execute()); }
public void RegisterAccount() { RegisterAccountScenario = new RegisterAccountScenario(Container); RegisteredAccount = RegisterAccountScenario.Execute(); }
public void RegisterAccount() { _registerAccountScenario = new RegisterAccountScenario(Container); _account = _registerAccountScenario.Execute(); _changePasswordScenario = new ChangePasswordScenario(Container); }