public void WhenUserStoreMoneyToTheAccount_ThenItShouldAddUp() { var account = new Account(_guid, 5000, _userId); account.Store(200); account.Check().Should().Be(5200); }
public void WhenUserSendMoneyToAnotherUser_ThenUserMoneyWouldBeDeducted() { var account = new Account(_guid, 5000, _userId); account.Send(200); account.Check().Should().Be(4800); }
public void WhenUserCheckTheAccount_ThenItShouldReturnCorrectData() { var account = new Account(_guid, 5000, _userId); account.Check().Should().Be(5000); }