public void TestGetHashCodeDiffers() { var feature1 = new TestFeature(nameof(TestFeature)); var feature2 = new TestFeature("123"); feature1.GetHashCode().Should().NotBe(feature2.GetHashCode()); }
public void TestGetHashCodeMatch() { var feature1 = new TestFeature(nameof(TestFeature)); feature1.GetHashCode().Should().Be(feature1.GetHashCode()); }