public void TestProcessApplicationCommand() { var command = new CreateApplicationCommand() { Payload = 1 }; _publisher.Publish(command); }
public void TestCreate() { _publisher.Publish(new CreateApplicationCommand { Payload = 1 }); }
public void Publish(IApplicationCommand command) => _publisher.Publish(command);