public class KeCallFlowApplication : ICallFlowApplication
{
public void HandleCall()
{
PlayDebitAccountBalance();
}public virtual void PlayDebitAccountBalance()
{
// blah
}
public void PlayDebitAccountBalance_Should_Be_Called()
{
// ARRANGE
var keCallFlowApplicationMock = new Mock<KeCallFlowApplication>() {CallBase = true};
// ACT
keCallFlowApplicationMock.Setup(x => x.PlayDebitAccountBalance());
//ASSERT
keCallFlowApplicationMock.VerifyAll();
}
Result StackTrace:
at Moq.Mock.VerifyAll()
at KeCallFlowAplicationTest.PlayDebitAccountBalance_Should_Be_Called()
Result Message:
Moq.MockVerificationException : The following setups were not matched:
KeCallFlowApplication x => x.PlayDebitAccountBalance()
--
--
Post: moq...@googlegroups.com
Unsubscribe: moqdisc-u...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "Moq Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moqdisc+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.