@Test public void testParse() { assertParseVid(null, -1, 10, -1, -1, -1, "10"); assertParseVid(null, -1, 10, -1, 1, -1, "10.1"); assertParseVid(null, -1, 10, -1, 1, 2, "10.1.2"); assertParseVid(null, -1, 10, 1, 2, 3, "10-1.2.3"); assertParseVid("ext", -1, 10, 1, 2, 3, "ext:10-1.2.3"); assertParseVid("ext", 1, 10, 1, 2, 3, "ext:10-1.2.3@1"); }