public void SetUp() { theSubject = new Site(){Name = "my site", Id = Guid.NewGuid()}; theUrls = new ValidStubUrlRegistry(); theTarget = new SimpleValues<Site>(theSubject); theLinks = new LinksSource<Site>(); }
public void SetUp() { theSubject = new Site() { Name = "my site", Id = Guid.NewGuid() }; theUrls = new ValidStubUrlRegistry(); theTarget = new SimpleValues <Site>(theSubject); theLinks = new LinksSource <Site>(); }
public void SetUp() { theFeed = new Feed <ItemSubject>(); theDefinition = theFeed.As <IFeedDefinition <ItemSubject> >(); theSyndicationFeed = new SyndicationFeed(); aSyndicationItem = new SyndicationItem(); theUrls = new ValidStubUrlRegistry(); }
public void SetUp() { theUrls = new ValidStubUrlRegistry(); theWriter = new FeedWriter <FeedTarget>( new FeedTargetSource(), new FeedWithExtension(), new FeedTargetLinks(), theUrls); theResultingFeed = theWriter.BuildFeed(); }
public void SetUp() { theUrls = new ValidStubUrlRegistry(); output = new InMemoryOutputWriter(); theWriter = new FeedWriter <FeedTarget>( new FeedWithExtension(), new FeedTargetLinks(), theUrls, output); theResultingFeed = theWriter.BuildFeed(new FeedTargetSource()); }