public async Task SendTextAsync_UnsuccessfullySend_UnsuccessfullyResult()
        {
            var messageSender = GetService <IMessageSender <ViberMessage> >();

            var message = new ViberMessage
            {
                Receiver = "-1",
                Text     = TestConstants.Action,
                Keyboard = null,
            };

            var result = await messageSender.SendTextAsync(message);

            Assert.False(result.Success);
            Assert.AreEqual(Constants.Error, result.Error);
        }
        public async Task SendTextAsync_SuccessfullySend_SuccessfullyResult()
        {
            var messageSender = GetService <IMessageSender <ViberMessage> >();

            var message = new ViberMessage
            {
                Receiver          = "-1",
                Text              = TestConstants.Test,
                Keyboard          = null,
                SenderDisplayName = "1"
            };

            var result = await messageSender.SendTextAsync(message);

            Assert.True(result.Success);
            Assert.AreEqual(string.Empty, result.Error);
        }
        public void SendRequest()
        {
            var message = new ViberMessage();

            Assert.IsNotNull(Client.SendMessage(message));
        }