public void ShouldAuthoriseProviderUserOnUpdateVacancy()
        {
            // Act.
            Action action = () => _updateVacancyStrategy.UpdateVacancy(_testVacancy);

            // Assert.
            action.ShouldThrow <UnauthorizedAccessException>();
        }
Beispiel #2
0
 public Vacancy UpdateVacancy(Vacancy vacancy)
 {
     return(_updateVacancyStrategy.UpdateVacancy(vacancy));
 }