@Test
    void testAdminStatusApi() {
        PortsMeta pm = new PortsMeta()
                .on(0).tag("rpc").tag("nc").tag("admin").tag("status")
                .on(1).tag("rpc").tag("rtx").tag("admin").tag("status")
                .on(2).tag("http").tag("admin");

        assertEquals(1, pm.getRpcAdminOffset().intValue());
        assertEquals(1, pm.getRpcStatusOffset().intValue());
        assertEquals(2, pm.getHttpAdminOffset().intValue());
        assertNull(pm.getHttpStatusOffset());
    }
Tests proper functioning of the PortsMeta.

@author Vidar Larsen
config-model/src/test/java/com/yahoo/vespa/model/test/PortsMetaTestCase.java