public void SetUp() { _postsParser = Substitute.For <IPostsParser> (); _httpMessageHandler = new MockHttpMessageHandler(); _getPostsCommand = new GetPostsCommand(_postsParser, _httpMessageHandler); }
public void SetUp() { _postsParser = Substitute.For<IPostsParser> (); _httpMessageHandler = new MockHttpMessageHandler (); _getPostsCommand = new GetPostsCommand (_postsParser, _httpMessageHandler); }
public GetPostsCommand(IPostsParser postsParser, HttpMessageHandler httpMessageHandler) { _postsParser = postsParser; _httpMessageHandler = httpMessageHandler; }
public void SetUp() { _postsParser = new PostsParser(); }
public void SetUp() { _postsParser = new PostsParser (); }
public GetPostsCommand(IPostsParser postsParser, HttpMessageHandler httpMessageHandler) { _postsParser = postsParser; _httpMessageHandler = httpMessageHandler; }