public void testIdSet() throws Exception
{
String testRequest = "8 25 1:4 33:* 2,3,4 1,4:6,8:* ";
ImapRequestLineReader request = getRequest( testRequest );
IdSet idSet;
idSet = parser.set( request );
checkSet( idSet, new long[]{8}, new long[]{0, 2, 7, 9, 20, Long.MAX_VALUE } );
idSet = parser.set( request );
checkSet( idSet, new long[]{ 25 }, new long[]{ 0, 5, 20, 30, Long.MAX_VALUE } );