public async Task Given_InvalidUserCredentials_Should_Throw_When_ConsultingBalance() { await ShouldEx.ThrowsAsync <InvalidCredentialsException>(async() => await _service.GetBalance(_invalidAccount, _invalidPassword)); }
public async Task Given_InvalidUserCredentials_Should_Throw_When_Withdrawing() { await ShouldEx.ThrowsAsync <InvalidCredentialsException>(async() => await _service.Withdraw(_invalidAccount, _invalidPassword, _amountToDeposit)); }