public ActionResult Create() { SupportTeamFormViewModel viewModel = _supportTeamManagementService.CreateFormViewModel(); return(View(viewModel)); }
public void CanCreateFormViewModel() { // Establish Context var viewModelToExpect = new SupportTeamFormViewModel(); // Act SupportTeamFormViewModel viewModelRetrieved = supportTeamManagementService.CreateFormViewModel(); // Assert viewModelRetrieved.ShouldNotBeNull(); viewModelRetrieved.SupportTeam.ShouldBeNull(); }