示例#1
0
        public async void TipNxtToAddressShouldSucceed()
        {
            const decimal tipAmount = 42;
            var           message   = CreateChannelMessage($"tipper tip {TestConstants.ValidAddressRs1} 42 NXT");

            await SendSuccessfulTip(message, tipAmount);

            slackConnectorMock.Verify(c => c.SendMessage(channelSession.Id,
                                                         It.Is <string>(input => input.Equals(MessageConstants.TipToAddressRsSentChannel(slackUser.Id, TestConstants.ValidAddressRs1, tipAmount, "NXT", txId, ""))), false));
        }