public void ResultNoMatchWrongFile() { SpecificResourceReferenceFinder finder = CreateFinder(); Assert.IsFalse(finder.IsReferenceToResource(new ResourceResolveResult(null, null, null, new ResourceSetReference("SomeResources", "C:\\SomeResources.resx"), "TestKey"))); }
public void ResultMatch() { SpecificResourceReferenceFinder finder = CreateFinder(); Assert.IsTrue(finder.IsReferenceToResource(new ResourceResolveResult(null, null, null, new ResourceSetReference("TestResources", "C:\\TestResources.resx"), "TestKey"))); }