Last active
October 16, 2023 19:31
-
-
Save ChrisMash/1abae9502e81bf352201c6aa95bac35c to your computer and use it in GitHub Desktop.
A UT that does a poor job of verifying expected values
This file contains 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
delegate = ADelegate() | |
sut = UnitBeingTested(delegate) | |
sut.aFunctionCall() | |
verify(delegate) | |
.callMadeTo(functionOnDelegate) | |
.withParameter(anything()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment