AdminUnits() private method

private AdminUnits ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult
 public void AdminUnits_AdminUnits_WithOutAdminUnitType_Test()
 {
     AdminUnitController target = new AdminUnitController(); // TODO: Initialize to an appropriate value
     Nullable<int> id = new Nullable<int>(); // TODO: Initialize to an appropriate value
     //var viewName = "Lists/AdminUnits." + id + "";
     id = null;
     EmptyResult actual;
     try
     {
         actual = (EmptyResult)target.AdminUnits(id);
     }
     catch (Exception e)
     {
         Assert.Fail(e.Message);
     }
 }
 public void AdminUnits_AdminUnits_WithAdminUnitType_Test()
 {
     mockRepository.Setup(m => m.AdminUnit.GetRegions()).Returns(new List<BLL.AdminUnit>());
     mockRepository.Setup(m => m.AdminUnit.GetAdminUnitType(1)).Returns(new BLL.AdminUnitType());
     AdminUnitController target = new AdminUnitController(mockRepository.Object); // TODO: Initialize to an appropriate value
     Nullable<int> id = new Nullable<int>(); // TODO: Initialize to an appropriate value
     id = 1;
     var viewName = "Lists/AdminUnits." + id + "";
     PartialViewResult actual;
     actual = (PartialViewResult)target.AdminUnits(id);
     Assert.AreEqual(viewName, actual.ViewName);
 }