public void Insert_SurveyAnswerDtoNull_ReturnSurveyAnswerDto()
        {
            int id = _fixture.Create<int>();
            int surveyId = _fixture.Create<int>();
            DateTime respondDate = _fixture.Create<DateTime>();
            var surveyAnswer = new SurveyAnswer() { Id = id, SurveyId = surveyId, RespondDate = respondDate };
            var expectedsurveyAnswerDto = new SurveyAnswerDto() { Id = id, SurveyId = surveyId, RespondDate = respondDate };
            _surveyAnswerAppRepository.Setup(x => x.Create(It.IsAny<SurveyAnswer>())).Throws<ArgumentNullException>();

            var actual = _sut.Insert(null);
        }
        public void Insert_SurveyAnswerDtoNotNull_ReturnSurveyAnswerDto()
        {
            int id = _fixture.Create<int>();
            int surveyId = _fixture.Create<int>();
            DateTime respondDate = _fixture.Create<DateTime>();
            var surveyAnswer = new SurveyAnswer() { Id = id, SurveyId = surveyId, RespondDate = respondDate};
            var expectedsurveyAnswerDto = new SurveyAnswerDto() { Id = id, SurveyId = surveyId, RespondDate = respondDate };
            _surveyAnswerAppRepository.Setup(x => x.Create(It.IsAny<SurveyAnswer>())).Returns(surveyAnswer).Verifiable();

            var actual = _sut.Insert(expectedsurveyAnswerDto);

            actual.ShouldBeEquivalentTo(expectedsurveyAnswerDto);
            _surveyAnswerAppRepository.VerifyAll();
        }