public void Companies_should_throw_NullReferenceException_if_model_is_null()
		{
			//arrange
			var appraisalCompanyService = Substitute.For<IAppraisalCompanyService>();
			var appraisalCompanyManager = Substitute.For<IAppraisalCompanyManagement>();
			var referenceManagement = Substitute.For<IReferenceManagement>();
			var target = new AppraisalCompaniesPipelineController(appraisalCompanyService, appraisalCompanyManager, referenceManagement);
			//act
			Action act = () => target.Companies(null);
			//assert
			act.ShouldThrow<NullReferenceException>();
		}
		public void Companies_should_not_be_null()
		{
			//arrange
			var appraisalCompanyService = Substitute.For<IAppraisalCompanyService>();
			var appraisalCompanyManager = Substitute.For<IAppraisalCompanyManagement>();
			var referenceManagement = Substitute.For<IReferenceManagement>();
			var target = new AppraisalCompaniesPipelineController(appraisalCompanyService, appraisalCompanyManager, referenceManagement);
			ActionResult actual;
			//act
			actual = target.Companies();
			//assert
			actual.Should().NotBeNull();
		}
		public void Companies_should_not_be_null_if_model_not_null_and_redirect_to_companies_get_action()
		{
			//arrange
			var appraisalCompanyService = Substitute.For<IAppraisalCompanyService>();
			var appraisalCompanyManager = Substitute.For<IAppraisalCompanyManagement>();
			var referenceManagement = Substitute.For<IReferenceManagement>();
			var target = new AppraisalCompaniesPipelineController(appraisalCompanyService, appraisalCompanyManager, referenceManagement);
			var model = new AppraisalCompanyPipelineViewModel();
			model.Filter = new AppraisalCompanyFilter();
			ActionResult actual;
			//act
			actual = target.Companies(model);
			//assert
			target.Should().NotBeNull();
			((RedirectToRouteResult)actual).RouteValues.Should().HaveCount(1);
			((RedirectToRouteResult)actual).RouteValues["action"].Should().Be("Companies");
		}