@Test
public void testNext()
                        throws Exception {

    ListMetadataResultSet resultSet = new ListMetadataResultSet( getAllRecords() );
    assertTrue( resultSet.next() );
    assertTrue( resultSet.next() );
    assertTrue( resultSet.next() );
    assertNotNull( resultSet.getRecord() );
    assertTrue( resultSet.next() );
    assertTrue( resultSet.next() );
}