//Creates a ServiceDto for testing
 private ServiceDto SetUpTestData(string name)
 {
     //Set up a provisioning data service Dto
     var aServiceDto = new ServiceDto
     {
         ClassName = "VIDEO - BASICS",
         Type = ServiceClassTypeDto.Video,
         Description = "A description",
         Name = name // This service name will be searched for in the controller
     };
     return aServiceDto;
 }
        private void SetUpShims(ServiceDto aServiceDto)
        {
            // Fake the session state for HttpContext
            var session = new ShimHttpSessionState();
            session.ItemGetString = (key) => { if (key == "Subscriber") return null; return null; };

            // Fake the HttpContext
            var context = new ShimHttpContext();
            ShimHttpContext.CurrentGet = () => context;

            // When the Fake HttpContext is called, provide the fake session state
            ShimHttpContext.AllInstances.SessionGet = (o) => session;

            //This is where the fake data is inserted
            ShimCurrentSubscriber.AllInstances.ProvisionedServicesListGet = (myTest) => new List<ServiceDto>
            {
                aServiceDto
            };
        }