示例#1
0
        public void EmojiListShouldCallCorrectEndpoint()
        {
            var requestHandlerMock = ExecRequestMock<EmojiResponse>("/emoji.list");

            var subject = new EmojiApi(requestHandlerMock.Object);
            var result = subject.List();

            requestHandlerMock.Verify();
            Assert.NotNull(result);
        }
示例#2
0
        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();
 }