Skip to content
Discussion options

You must be logged in to vote

The Verifiable(Func<Times> times) allows to use some Times methods, like Times.Once() or Times.AtLeastOnce() without using ().

For example you can use Verify(Times.Once()) or Verify(Times.Once), it is exactly the same behavior.
It is just a syntax sugar to make the Verify() method more natural to read...

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Ghostbird
Comment options

@GillesTourreau
Comment options

Answer selected by Ghostbird
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants