q.clean();
assertFalse(persistDir.exists());
assertNull(persistDir.listFiles());
// A subsequent call to clean() should not throw NullPointerException.
q.clean();
assertFalse(persistDir.exists());
assertNull(persistDir.listFiles());
// Recreate persistDir for the benefit of tearDown().
q.ensurePersistDirExists();