Advertisement
amandab

Untitled

Oct 18th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.28 KB | None | 0 0
  1. @Given(“^a User has no money in their account$”)
  2. public void a_User_has_no_money_in_their_current_account() {
  3.     User user = new User();
  4.     Account account = new Account();
  5.     user.setAccount(account);
  6.     assertTrue(“The balance is not zero.”, account.getBalance() == 0);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement