public void testParseRoute() throws Exception {
String s = " @a, @b, @c :me@home";
ByteSequence raw = ContentUtil.encode(s);
ParserCursor cursor = new ParserCursor(0, s.length());
DomainList route = parser.parseRoute(raw, cursor);
assertNotNull(route);
assertEquals(3, route.size());
assertEquals("a", route.get(0));
assertEquals("b", route.get(1));
assertEquals("c", route.get(2));
assertEquals('m', raw.byteAt(cursor.getPos()));
}