public void ConfigSourcesWithSameTitleAreEqual() { var source1 = new ConfigSource(); source1.Title = "foo"; var source2 = new ConfigSource(); source2.Title = "foo"; Assert.True(source1.Equals(source2), "Equals"); Assert.True(object.Equals(source1, source2), "object.Equals"); Assert.True(source1.GetHashCode() == source2.GetHashCode(), "GetHashCode"); }