// make sure test was actually useful (ie something actually failed)
assertNotNull(result[0].getFailingCase());
}
private void doAsIfInProd(Runnable runnable) {
DirectoryManager.setDirectorySet(new ProductionExecutedFromTestsDirectories());
resetClassLoader();
setRealPath();
runnable.run();
}