public void Models_AvatarModel_Update_With_Invalid_Data_Null_Should_Fail() { // Arrange var expect = "test"; var data = new AvatarModel { Id = "test" }; // Act data.Update(null); var result = data.Id; // Assert Assert.AreEqual(expect, result, TestContext.TestName); }
public void Models_AvatarModel_Update_With_Invalid_Data_Should_Fail() { // Arrange var expect = "test"; var data = new AvatarModel { Uri = "bogus" }; var test = new AvatarModel { Uri = "test" }; // Act data.Update(test); var result = data.Uri; // Assert Assert.AreEqual(expect, result, TestContext.TestName); }