public void matchesReturnsResponseFromMatchesUriRefCall() { ResourceSpecifierResponder specifierTrue = new ResourceSpecifierResponder(true); ResourceSpecifierResponder specifierFalse = new ResourceSpecifierResponder(false); BlankNode instance = new BlankNode(); Assert.IsTrue(instance.Matches(specifierTrue)); Assert.IsFalse(instance.Matches(specifierFalse)); }
public void matchesCallsMatchesBlankNodeOnSpecifier() { ResourceSpecifierStore specifier = new ResourceSpecifierStore(); BlankNode instance = new BlankNode(); instance.Matches(specifier); Assert.IsTrue(specifier.WasMatchesBlankNodeCalled()); }