Skip to content

Instantly share code, notes, and snippets.

@ChrisMash
Last active October 16, 2023 19:33
Show Gist options
  • Save ChrisMash/f98ba4092388de5edf43434b826141bf to your computer and use it in GitHub Desktop.
Save ChrisMash/f98ba4092388de5edf43434b826141bf to your computer and use it in GitHub Desktop.
A UT that does an improved job of verifying pre-requisites
verify(StorageThing)
.hasNoEntry("something")
sut = UnitBeingTested()
verify(StorageThing)
.hasEntry("something")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment