Return to Snippet

Revision: 67904
at November 1, 2014 03:10 by heathbo


Initial Code
mock.Verify(foo => foo.Execute("ping"), Times.Never());

Initial URL


Initial Description
Verify that the Execute("ping") method is never called.

Initial Title
Moq: Verify that a method is not called

Initial Tags
c#

Initial Language
C#