@Test
    public void testNormalUsage() {
        setClusterNodes(new int[]{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 });
        // First we want a wrong distribution reply, so make sure we don't try correct node on random
        policyFactory.avoidPickingAtRandom(bucketOneNodePreference[0]);
        RoutingNode target = select();
        replyWrongDistribution(target, "foo", 5, "version:1 bits:16 distributor:10 storage:10");
        // Then send to correct node and verify that
        sendToCorrectNode("foo", bucketOneNodePreference[0]);
    }
Test that we can send a message through the policy.
documentapi/src/test/java/com/yahoo/documentapi/messagebus/protocol/test/storagepolicy/BasicTests.java