public void get_path_if_has_suite_parent() { var top = new Suite("top"); var child = new Suite("child"); top.AddSuite(child); child.GetPath().Locator.ShouldEqual("top/child"); }
public void get_path_if_no_parent() { var suite = new Suite("suite1"); suite.GetPath().Locator.ShouldEqual("suite1"); }