Testing guaranteed queue based message delivery over flow in C

In that case, what would be the recommended way to test this integrated flow locally. I have tested the integrated flow by connecting to broker, but the broker connectivity is sporadic and I wanted to add some tests that I can run on my machine.

Is there a way I can create a mock Solace broker locally on my machine which can simulate the actual broker and send guaranteed messages on a queue?

And if not locally, is there a way to create a remote Solace broker, which can behave like a mock broker for my testing?