//Retain IO Layer
AMQProtocolSession protocolSession = _connection.getProtocolHandler().getProtocolSession();
// Send IO Exception - causing failover
_connection.getProtocolHandler().
exception(new WriteTimeoutException("WriteTimeoutException to cause failover."));
// Verify Failover occured through ConnectionListener
assertTrue("Failover did not occur",
_failoverOccured.await(4000, TimeUnit.MILLISECONDS));