/// <summary> /// Setup Basic common needs for IMovieLibrary Extensions /// </summary> protected override void GivenThat() { base.GivenThat(); this.Critic = Mock <IMovieCritic>(); var movies = new List <IMovie>(); for (var i = 0; i < 10; i++) { movies.Add(Mock <IMovie>()); } Extended.Stub(ex => ex.Contents).Return(movies); Extended.Stub(ex => ex.ListNonViolent()).Return(movies.Take(5)); }