public void GetHashCode_NullId_Returns0() { var location = new RtmLocation(null); var actual = location.GetHashCode(); Assert.AreEqual(0, actual); }
public void GetHashCode_RtmLocation_ReturnsHashOfId(string id) { var location = new RtmLocation(id); var expected = id.GetHashCode(); var actual = location.GetHashCode(); Assert.AreEqual(expected, actual); }