Esempio n. 1
0
        public async void DepositShouldReturnAddress()
        {
            SetupNxtAccount(TestConstants.SenderAccount, 1);

            await slackHandler.InstantMessageCommand("deposit", slackUser, imSession);

            slackConnectorMock.Verify(c => c.SendMessage(imSession.Id,
                                                         It.Is <string>(input => input.Equals(MessageConstants.DepositAddress(TestConstants.SenderAccount.NxtAccountRs))), true));
        }