public void TwoBuildServersAreEqualIfTheirUrlsAreTheSame() { BuildServer one = new BuildServer("http://one"); BuildServer anotherOne = new BuildServer("http://one"); BuildServer two = new BuildServer("http://two"); Assert.AreEqual(one, one); Assert.AreEqual(one, anotherOne); Assert.AreEqual(anotherOne, one); Assert.IsFalse(one.Equals(two)); Assert.IsFalse(two.Equals(one)); }