public void GetHashCode_WithEqualityComponentsNull_ShouldThrow()
        {
            var    instance = new Dummy1();
            Action action   = () => instance.GetHashCode();

            action.ShouldThrow <InvalidOperationException>()
            .Message.ShouldBe("GetEqualityComponents must return at least one component.");
        }