@Test
    void testExplicitlyRotationControl() {
        VipStatus vipStatus = new VipStatus();
        VipStatusConfig config = new VipStatusConfig(new VipStatusConfig.Builder().accessdisk(false));
        VipStatusHandler handler = new VipStatusHandler(Executors.newCachedThreadPool(), config,  metric, vipStatus);

        vipStatus.setInRotation(false);

        {
            MockResponseHandler responseHandler = new MockResponseHandler();
            HttpRequest request = createRequest();
            BufferedContentChannel requestContent = createChannel();
            handler.handleRequest(request, requestContent, responseHandler);
            ByteBuffer b = responseHandler.channel.read();
            byte[] asBytes = new byte[b.remaining()];
            b.get(asBytes);
            assertEquals(VipStatusHandler.StatusResponse.NO_SEARCH_BACKENDS, Utf8.toString(asBytes));
        }

        vipStatus.setInRotation(true);

        {
            MockResponseHandler responseHandler = new MockResponseHandler();
            HttpRequest request = createRequest();
            BufferedContentChannel requestContent = createChannel();
            handler.handleRequest(request, requestContent, responseHandler);
            ByteBuffer b = responseHandler.channel.read();
            byte[] asBytes = new byte[b.remaining()];
            b.get(asBytes);
            assertEquals(VipStatusHandler.OK_MESSAGE, Utf8.toString(asBytes));
        }
    }
Check semantics of VIP status handler. Do note this handler does not need to
care about the incoming URI, that's 100% handled in JDIsc by the binding
pattern.

@author Steinar Knutsen
container-core/src/test/java/com/yahoo/container/handler/VipStatusHandlerTestCase.java