public void AppraisalCompanySignUpController_SignUp_get_should_return_view_type_of_AppraisalCompanySignUpViewModel()
		{
			AppraisalCompanySignUpController target = new AppraisalCompanySignUpController(Substitute.For<IAppraisalCompanySignUpService>(), Substitute.For<IAuthProvider>());

			//act
			var actual = target.Index();
			actual.Should().NotBeNull().And.BeOfType<ViewResult>();
			((ViewResult)actual).ViewData.Model.Should().BeOfType<AppraisalCompanySignUpViewModel>();
		}
		public void AppraisalCompanySignUpController_SignUp_post_should_return_sam_view_if_model_is_invalid()
		{
			AppraisalCompanySignUpController target = new AppraisalCompanySignUpController(Substitute.For<IAppraisalCompanySignUpService>(), Substitute.For<IAuthProvider>());
			target.ModelState.AddModelError("test", "test");

			//act
			var actual = target.Index(new AppraisalCompanySignUpViewModel());
			actual.Should().NotBeNull().And.BeOfType<ViewResult>();
			((ViewResult)actual).ViewData.Model.Should().BeOfType<AppraisalCompanySignUpViewModel>();
		}
		public void AppraisalCompanySignUp_should_redirect_to_appraisalWizard_if_model_is_correct()
		{
			AppraisalCompanySignUpController target = new AppraisalCompanySignUpController(Substitute.For<IAppraisalCompanySignUpService>(), Substitute.For<IAuthProvider>());
			target.CommitProviderInstance = Substitute.For<ICommitProvider>();
			//act
			var actual = target.Index(new AppraisalCompanySignUpViewModel() { AppraisalCompanyAdmin = new UserViewModel() });
			actual.Should().NotBeNull().And.BeOfType<RedirectToRouteResult>();
			((RedirectToRouteResult)actual).RouteValues.Should().HaveCount(3);
			((RedirectToRouteResult)actual).RouteValues["action"].Should().Be("Index");
			((RedirectToRouteResult)actual).RouteValues["controller"].Should().Be("AppraisalCompanyWizard");
		}
		public void AppraisalCompanySignUpControllerConstructorTest()
		{
			AppraisalCompanySignUpController target = new AppraisalCompanySignUpController(Substitute.For<IAppraisalCompanySignUpService>(), Substitute.For<IAuthProvider>());
			Assert.IsNotNull(target);
		}