@Test
    void requireThatIgnoreFlagIsSerializedWithMessage() {
        assertSend(dstSessName + " foo ?bar");
        Message msg = ((Receptor) dstSession.getMessageHandler()).getMessage(60);
        assertNotNull(msg);
        Route route = msg.getRoute();
        assertEquals(2, route.getNumHops());
        Hop hop = route.getHop(0);
        assertEquals("foo", hop.toString());
        assertFalse(hop.getIgnoreResult());
        hop = route.getHop(1);
        assertEquals("?bar", hop.toString());
        assertTrue(hop.getIgnoreResult());
        dstSession.acknowledge(msg);
        assertTrace("-Ignoring errors in reply.");
    }
@author havardpe
@author Simon Thoresen Hult
messagebus/src/test/java/com/yahoo/messagebus/routing/RoutingTestCase.java