public void Should_not_be_match_for_different_has_Uri()
        {
            // given
            var classMapping = new ClassMapping(new Uri("http://example/#uri1"), false);

            // when
            var result = classMapping.IsMatch(new[] { new Uri("http://example/#uri2") });

            // then
            result.Should().BeFalse();
        }
Beispiel #2
0
 protected bool Equals(ClassMapping other)
 {
     return(UriComparer.Equals(_uri, other._uri));
 }