@Override
    public Statement apply(final Statement base, final Description description) {
        return new Statement() {
            @Override
            public void evaluate() throws Throwable {

                try {
                    createList();
                    base.evaluate();
                } finally {
                    deleteList();
                }
            }
        };
    }
Sets up a (temporary) cache list in Cgeo for testing purposes
main/src/androidTest/java/cgeo/geocaching/test/CgeoTemporaryListRule.java