public void ShouldGetFeedOfRecentEvents() { IStore store = CreateStubStore(); Repository repository = new Repository(store, ResourceIdToStoreIdConverter.Default); repository.OnFeedMappingsChanged(null, new FeedMappingsChangedEventArgs(ResourceIdValue, StoreIdValue)); IRepresentation representation = repository.GetFeedOfRecentEvents(); Output output = Output.For(representation); Assert.AreEqual(StreamBackedRepresentation.CreateCurrentFeed().GetContents(), output.EntityBody); }