Exemplo n.º 1
0
        public void Should_Not_Parse_If_Message_Is_Sent_By_Self()
        {
            _discordClient.ClientId.Returns((ulong)123);

            _discordClient.OnMessageReceived += Raise.EventWith(new object(), new MessageEventArgs(_message));

            _parser.Received(0).ParseCommand(Arg.Any <IMessage>());
        }