// Set up the messaging topology so that only the publishers producer is bound (do not set up the receivers to
// collect its messages).
getTestProps().setProperty(RECEIVER_CONSUMER_BIND_PROPNAME, false);
// Send one message and get a linked no route exception.
CircuitFactory circuitFactory = getCircuitFactory();
Circuit testCircuit = circuitFactory.createCircuit(getConnection(), getTestProps());
assertNoFailures(testCircuit.test(1,
assertionList(((AMQPPublisher) testCircuit.getPublisher()).noRouteAssertion(getTestProps()))));
}