Пример #1
0
        public async Task ShouldBeAbleToGetAllInterviewTemplates()
        {
            var dbInterviewTemplates = await Arranger.CreateInterviewTemplates();

            var responseInteviewTemplateDtos = await ApiClient.GetInterviewTemplates()
                                               .AwaitGetSuccessfulResponse <IEnumerable <InterviewTemplateDto> >();

            responseInteviewTemplateDtos
            .CompareCollectionsUsingLikeness <InterviewTemplateDto, InterviewTemplateDto>(
                Mapper.Map <IEnumerable <InterviewTemplateDto> >(dbInterviewTemplates));
        }