public void RepositoryFindOne() { IRepository<Course> courseRepository = new EfRepository<Course>(_contextManager); courseRepository.AddNew(new Course() { Title = "Test course", Price = 900 }); var course = courseRepository.FindOne(1); Assert.IsNotNull(course); }