public void ShouldEquateHashcode() { //arrange TextObj textOf1 = new TextObj("Test"); TextObj textOf2 = new TextObj("Test"); //assert textOf2.GetHashCode().Should().Be(textOf1.GetHashCode()); }