public void DeleteWorkExperience_InvalidWorkExperienceId_ShouldBeThrownValidationException()
        {
            Mock <IUnitOfWork>    uow     = new Mock <IUnitOfWork>();
            WorkExperienceService service = new WorkExperienceService(uow.Object);

            uow.Setup(a => a.WorkExperiences.Get(It.IsAny <int>())).Returns((WorkExperience)null);
            service.Delete(It.IsAny <int>());
        }
        public void DeleteWorkExperience_DeletedWorkExperienceWithCorrectId_ShouldBeDeleted()
        {
            Mock <IUnitOfWork>    uow     = new Mock <IUnitOfWork>();
            WorkExperienceService service = new WorkExperienceService(uow.Object);

            uow.Setup(a => a.WorkExperiences.Get(It.IsAny <int>())).Returns(new WorkExperience());
            service.Delete(It.IsAny <int>());
            uow.Verify(x => x.Save());
        }