public void GivenLogicManagerGeneratesViewModel_WhenSelector_ThenViewModelInResult()
        {
            ServiceTypeSelectorModel expected = new ServiceTypeSelectorModel();
            MockLogicManager.Expect(m => m.GenerateSelectorViewModel()).Return(expected);

            PartialViewResult result = Target.Selector();

            result.AssertGetViewModel(expected);
        }
 public ServiceTypeSelectorModel GenerateSelectorViewModel()
 {
     ServiceTypeSelectorModel viewModel = new ServiceTypeSelectorModel();
     viewModel.ServiceTypes = new MultiSelectList(ServiceTypeRepository.Items.Where(s => s.IsActive), "Id", "Name");
     return viewModel;
 }