You could create your layout as rigorous. Thus, only those methods that you install are allowed (or Expect, depending on which version of Moq you are playing with).
var foo = new Mock<IFoo>(MockBehavior.Strict); foo.Expect(f => f.Bar());
Any time a method is called in foo other than Bar (), an exception will be thrown and your test will fail.
Matt hamilton
source share