Пример #1
0
        public void Equals_should_return_false_if_value_is_no_identical_on_instance_being_compared_against()
        {
            var instance =
                new MetadataItem("Foo", new object());

            var results =
                instance.Equals(new MetadataItem("Foo", string.Empty));

            results.ShouldBeFalse();
        }
Пример #2
0
        public void Equals_should_return_false_if_value_is_no_identical_on_instance_being_compared_against()
        {
            var instance =
                new MetadataItem("Foo", new object());

            var results =
                instance.Equals(new MetadataItem("Foo", string.Empty));

            results.ShouldBeFalse();
        }