public void ByController() { var controller = new TestableController(); var maskedResult = controller.Mask(Category_Controller.GetCategories()); foreach (var category in maskedResult) { Assert.Null(category.Children); } }