public void Should_successfully_send_command() { var bus = new AdvancedCommandBus(URL); bus.PostScheduled(new CommandEnvelope { Key = "SampleCommands.PrintMessage" }).Wait(); }
public void Should_successfully_send_command() { var bus = new AdvancedCommandBus(URL); bus.PostScheduled(new CommandEnvelope { Key = "HugeFoo", Command = new HugeFoo { Data = new String('a', 2097152) } }).Wait(); _commandBroker.CommandsPosted.Should().NotBeEmpty(); }