public void ShouldGetEducationByUser()
{
var expected = _educations.Where(a => a.UserId == 1).ToList();
_educationRepository = new Mock<IEducationRepository>();
_educationRepository.Setup(a => a.Find(It.IsAny<Expression<Func<Education, bool>>>(), true))
.Returns(expected);
_educationLogic = new EducationLogic(_educationRepository.Object);
var results = _educationLogic.GetByUser(1);
Assert.AreEqual(2, results.Count);
}