public void Before_each_test()
 {
     _qnaApiClient       = new Mock <IInternalQnaApiClient>();
     _fileStorageService = new Mock <IFileStorageService>();
     _controller         = new ExperienceAndAccreditationController(_qnaApiClient.Object, _fileStorageService.Object);
 }
 public void GetInitialTeacherTraining_QnaUnavailable_ThrowsException()
 {
     _controller = new ExperienceAndAccreditationController(null, _fileStorageService.Object);
     Assert.ThrowsAsync <ServiceUnavailableException>(() => _controller.GetInitialTeacherTraining(_applicationId));
 }