public async Task return_an_existing_course() { var course = CourseMother.Random(); await Repository.Save(course); Assert.Equal(JsonConvert.SerializeObject(course), JsonConvert.SerializeObject(await Repository.Search(course.Id))); }
public async Task save_a_course() { var course = CourseMother.Random(); await Repository.Save(course); }