Last active
July 5, 2020 15:36
-
-
Save Kdan/e8dd412154db385aac12df59cf5a9107 to your computer and use it in GitHub Desktop.
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
| class BMock: B { | |
| /// The mocked response being returned by the `validateAnswer()` function. | |
| var validateAnswerResponse = true | |
| func validateAnswer() -> Bool { validateAnswerResponse } | |
| } | |
| class CMock: C { | |
| /// Mutable variable can be changed during the test. | |
| var number = 42 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment