// Dump
LOG.debug("{}",stack.dump());
// Should be no change to handlers
IdentityExtension actualIncomingExtension = assertIsExtension("Incoming",stack.getNextIncoming(),IdentityExtension.class);
IdentityExtension actualOutgoingExtension = assertIsExtension("Outgoing",stack.getNextOutgoing(),IdentityExtension.class);
Assert.assertThat("Incoming[identity].id",actualIncomingExtension.getParam("id"),is("A"));
Assert.assertThat("Outgoing[identity].id",actualOutgoingExtension.getParam("id"),is("B"));
}
finally
{
stack.stop();
}