Unit Testing and Rhino.Mocks Testing with Rhino.Mocks Assert Assert.AreEqual(42, profit); file.AssertWasCalled(x=>x.Save(foo)); file.AssertWasNotCalle