public void ThenSetApplicationUrl() { string expectedUrl = "https://" + Guid.NewGuid(); var vacancy = new ApprenticeshipVacancy { EmployersRecruitmentWebsite = expectedUrl, Location = new Address(), ApprenticeshipTypeId = 1 }; ApprenticeshipVacancyDto result = _sut.MapToApprenticeshipVacancy(vacancy); result.ApplicationUrl.Should().Be(expectedUrl); }
public void ThenSetApplicationInstructions() { string expectedInstructions = Guid.NewGuid().ToString(); var vacancy = new ApprenticeshipVacancy { EmployersApplicationInstructions = expectedInstructions, Location = new Address(), ApprenticeshipTypeId = 1 }; ApprenticeshipVacancyDto result = _sut.MapToApprenticeshipVacancy(vacancy); result.ApplicationInstructions.Should().Be(expectedInstructions); }