public void EmojiListShouldCallCorrectEndpoint() { var requestHandlerMock = ExecRequestMock<EmojiResponse>("/emoji.list"); var subject = new EmojiApi(requestHandlerMock.Object); var result = subject.List(); requestHandlerMock.Verify(); Assert.NotNull(result); }
public void EmojiListShouldCallCorrectEndpoint() { var requestHandlerMock = ExecRequestMock <EmojiResponse>("/emoji.list"); var subject = new EmojiApi(requestHandlerMock.Object); var result = subject.List(); requestHandlerMock.Verify(); Assert.NotNull(result); }
public EmojiApiTests() { instance = new EmojiApi(); }