Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func test_itShouldFailLogin_whenPasswordNotCorrect() {
- // given
- let userName = "test@example.com"
- let password = "Not the right password"
- let account = AccountBuilder()
- .with(userName: userName)
- .with(password: password)
- .build()
- let user = UserBuilder()
- .with(account: account)
- .build()
- // when
- // ...
- // then
- // Assert that login failed
- }
Add Comment
Please, Sign In to add comment