public void TestMissingElements() { string id = "1"; _dataHolder.Set(id, new Diff { Left = JObject.Parse("{ \"clientName\": \"John P.\" }") }); ValidateDiffResult(_controller.Index(id), DiffResultMessages.MissingElements); }
public void IndexTest() { // Arrange DiffController controller = new DiffController(); // Act var result = controller.Index(); // Assert Assert.IsNotNull(result); }