Guest User

Untitled

a guest
Aug 10th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. func test_itShouldFailLogin_whenPasswordNotCorrect() {
  2. // given
  3. let userName = "test@example.com"
  4. let password = "Not the right password"
  5. let account = AccountBuilder()
  6. .with(userName: userName)
  7. .with(password: password)
  8. .build()
  9. let user = UserBuilder()
  10. .with(account: account)
  11. .build()
  12.  
  13. // when
  14. // ...
  15.  
  16. // then
  17. // Assert that login failed
  18. }
Add Comment
Please, Sign In to add comment