protected virtual void SetupChoices() { InvalidateCache(new GetCourses()); _context.Stub(p => p.AsQueryable <Entities.Course>()) .Return(TestChoice <Entities.Course>(3).TestAsync()); }