@Test(expected = IllegalArgumentException.class)
public void testGetRecordsWithNullQuery()
                        throws Exception {

    StoredISORecords storedIsoRecords = getStoredIsoRecords();
    MetadataQuery query = null;
    storedIsoRecords.getRecords( query );
}