public void TestIncorrectCallCount() { // Arrange emulator var service = new FakeOrganzationService(); service.ExpectCreate((entity) => { return(Guid.NewGuid()); }).ExpectUpdate((entity) => { }); // Act IOrganizationService svc = service; var account = new Entity("account"); svc.Create(account); // Assert Assert.IsFalse(service.ExpectedCalls(), "Incorrect call count should cause assert to fail"); }