public void setHop(HopSpec hop) {
        this.hop = hop;
        mbus.setupRouting(new RoutingSpec().addTable(new RoutingTableSpec(DocumentProtocol.NAME).addHop(hop)));
    }
Sets the spec of the hop to test with.

@param hop The spec to set.
documentapi/src/test/java/com/yahoo/documentapi/messagebus/protocol/test/PolicyTestFrame.java