private void setupPolicy(String policyName, SimpleProtocol.PolicyFactory policyFactory) {
        SimpleProtocol protocol = new SimpleProtocol();
        protocol.addPolicyFactory(policyName, policyFactory);
        srcServer.mb.putProtocol(protocol);
    }
@author havardpe
@author Simon Thoresen Hult
messagebus/src/test/java/com/yahoo/messagebus/routing/RoutingTestCase.java