Using these 3 methods change the behavior of the call. How would I verify that a private method is called?
So the VB equivalent of this:
// Verify the private call was actually made
Isolate.Verify.NonPublic.WasCalled(fake, "WriteToDisk").WithArguments("Hello World");
I don't see a method that would be able to be used in the VB:
Using AssertCalls.HappenedWithExactArguments
fake.WriteToDisk("Hello World") 'compiler error
End Using
On the other hand, how do you verify a private method was NOT called
Using AssertCalls.NeverHappened
fake.WriteToDisk("Hello World") 'compiler error
End Using