// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.content; import com.yahoo.messagebus.routing.RouteSpec; import static org.junit.jupiter.api.Assertions.assertEquals; public class ContentBaseTest { public static String getHosts() { return "" + " " + " " + " node0" + " " + ""; } static void assertRoute(RouteSpec r, String name, String... hops) { assertEquals(name, r.getName()); assertEquals(hops.length, r.getNumHops()); for(int i = 0; i < hops.length; i++) { assertEquals(hops[i], r.getHop(i)); } } }