public void Alias(string name, string alias) { _graph.Alias(name, alias); }
public void add_to_combination_should_unalias_names() { theGraph.Alias("a.js", "a"); theGraph.Alias("b.js", "b"); theGraph.AddToCombination("c1", "a,b,c.js"); theGraph.NamesForCombination("c1").ShouldHaveTheSameElementsAs("a.js", "b.js", "c.js"); }
public void find_object_by_alias() { theGraph.Alias("Name.js", "Name"); theGraph.ObjectFor("Name").ShouldBeOfType <IFileDependency>() .Name.ShouldEqual("Name.js"); }