public void Equals_Fail() { var id = Guid.NewGuid(); var type = new JsonColumnType <ExampleJsonModel>(); var result = type.Equals(string.Empty, new ExampleJsonModel(id, new List <string>())); Assert.False(result); }
public void Equals_Success() { var id = Guid.NewGuid(); var type = new JsonColumnType <ExampleJsonModel>(); var result = type.Equals(new ExampleJsonModel(id, new List <string>()), new ExampleJsonModel(id, new List <string>())); Assert.True(result); }