public void TestSimpleNamedCall() { ItemType itemType = DotNetAssemblyDependencyReaderFactory.DOTNETITEM; var gc = new GlobalContext(); WorkingGraph graph = gc.CurrentGraph; Item @using = graph.CreateItem(itemType, "", "NamespacelessTestClassForNDepCheck", "NDepCheck.TestAssembly", "1.0.0.0", "", ""); Item used = graph.CreateItem(itemType, "System", "Object", "mscorlib", "", "", ""); var d = graph.CreateDependency(@using, used, null, "Test", ct: 1); DependencyRule r = CreateDependencyRule(itemType, "**", "Assembly.Name=mscorlib"); Assert.IsTrue(r.IsMatch(d)); }