@Test
    public void random_node_target_used_if_no_distributors_available_in_cached_state() {
        letPolicyCacheStateWithNoAvailableDistributors();
        select(); // Will trigger failure if no target is set, i.e. if an exception is thrown
    }
To be independent of changes in distribution algorithm, we programmatically calculate preferred order of
bucket 1, which we will be using in the tests. To avoid doing this ahead of every test, we still hardcode the
values, though only one place, and have this test to verify they are correct, and make it easy to update the values.
documentapi/src/test/java/com/yahoo/documentapi/messagebus/protocol/test/storagepolicy/BasicTests.java