public void genericKey_equals_other_object_reference_should_be_true() { Key<String> target = new Key<String>( "Foo" ); object key = new Key<String>( "Foo" ); Boolean actual = target.Equals( key ); actual.Should().Be.True(); }
public void genericKey_equals_same_reference_should_be_true() { Key<String> target = new Key<string>( "Foo" ); Boolean actual = target.Equals( target ); actual.Should().Be.True(); }