public async Task <bool> TestFor_GetAllInterview()
        {
            //Arrange
            var res = false;

            //Action
            service.Setup(repos => repos.GetAllInterview());
            var result = await _interviewTS.GetAllInterview();

            //Assertion
            if (result != null)
            {
                res = true;
            }
            //final result displaying in text file
            File.AppendAllText("../../../output_revised.txt", "TestFor_GetAllInterview=" + res + "\n");
            return(res);
        }
Beispiel #2
0
 public async Task <IEnumerable <Interview> > AllInterviewAsync()
 {
     return(await _interviewTS.GetAllInterview());
 }