Exemplo n.º 1
0
        public void CanUseObjectMethodsOnItWhenItsNotFound()
        {
            var safe = new SafeValue<int>(42, false);

            safe.Equals(42).Should().Be(true);
            safe.Equals("42").Should().Be(false);
            safe.GetHashCode().Should().Be.EqualTo(42.GetHashCode());
        }