public void CallsServiceWhenSetRightIsCalledCorrectly() { var request = new SetDataRequest { Data = TestData }; _controller.SetRight(TestId, request); _diffCheckerServiceMock .Verify( dcs => dcs.SetRight( It.Is <string>(id => id.Equals(TestId)), It.Is <string>(dataRequest => dataRequest.Equals(TestData))) ); }