Created
October 2, 2020 12:07
-
-
Save weAreJack/eb75d9d56073e0bb55e24aa3a9d21e5a to your computer and use it in GitHub Desktop.
LogInRequestCallsPresenterTestExample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func testThatPerformLogInRequestCallsPresenterDidLogInSuccessfullyOnSuccess() { | |
interactor.username = "Valid Username" | |
interactor.password = "Valid Password" | |
interactor.performLogInRequest() | |
XCTAssertTrue(presenter.didLogInSuccessfullyCalled) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment