public void TestCategoryTree() { var logic = new CategoryLogic(); var tree = logic.GetCategoryTree(); Assert.IsTrue(tree.Nodes[0].Entity.Name == "Laptops"); Assert.IsTrue(tree.Nodes[0].SubNodes[0].Entity.Name == "Gaming"); }