private GhostBlogRepository CreateRepository(IGhostClient client) { var logger = Mock.Of <ILogger <GhostBlogRepository> >(); return(new GhostBlogRepository(client, logger)); }
public GhostBlogRepository(IGhostClient client, ILogger <GhostBlogRepository> logger) { _client = client; _logger = logger; }