public void GivenAPublishedBlogPostWhereRelativeUriIs(string relativeUri) { _blogPostRepository.PublishAsync(Dummy.BlogPost(relativeUri)).Wait(); }
public void GivenIHavePublishedABlogPost() { _given.BlogPost = Dummy.BlogPost(); _blogPostRepository.PublishAsync(_given.BlogPost).Wait(); }