public void finds_the_dependency_from_a_child_collection() { var projectDependency = new Dependency("Bottles"); var projectDependencies = new DependencyCollection(); projectDependencies.Add(projectDependency); theSolutionDependencies.AddChild(projectDependencies); theSolutionDependencies.Find("Bottles").ShouldEqual(projectDependency); }
public void changes_when_version_changes() { theCollection.Find("Bottles").Version = "1.1.0.1"; theCollection.HasChanges().ShouldBeTrue(); }