assertEquals("geronimo-dev@news.apache.org", na.toString());
assertEquals("geronimo-dev", na.toString());
    public void testNewsAddress() throws AddressException {        NewsAddress na = new NewsAddress("geronimo-dev", "news.apache.org");        assertEquals("geronimo-dev", na.getNewsgroup());        assertEquals("news.apache.org", na.getHost());        assertEquals("news", na.getType());        assertEquals("geronimo-dev@news.apache.org", na.toString());        NewsAddress[] nas =            NewsAddress.parse(                "geronimo-dev@news.apache.org, geronimo-user@news.apache.org");        assertEquals(2, nas.length);        assertEquals("geronimo-dev", nas[0].getNewsgroup());        assertEquals("news.apache.org", nas[0].getHost());        assertEquals("geronimo-user", nas[1].getNewsgroup());        assertEquals("news.apache.org", nas[1].getHost());    }