public void GetCategoryNameValidId() { var controller = new ItemCategoriesController(new CategoryBLL(new CategoryServiceStub())); var actionResult = controller.GetCategoryName(1); Assert.AreEqual(actionResult, "TestCategory"); }