private void assertLogContainsMessage(DeployHandlerLogger log, String message) {
        assertEquals(1, SlimeUtils.entriesStream(log.slime().get().field("log"))
                .map(entry -> entry.field("message").asString())
                .filter(m -> m.contains(message))
                .count());
    }
Test that deploying an application works when there are no allocated hosts in the system
(the bootstrap a new zone case, so deploying the routing app since that is the first deployment
that will be done)
configserver/src/test/java/com/yahoo/vespa/config/server/deploy/HostedDeployTest.java