@Before
public void initDatabase() throws RepositoryException {
cacheFilter = new UriPrefixFilter("http://localhost/");
ClientConfiguration config = new ClientConfiguration();
config.addEndpoint(new DummyEndpoint());
tmpDirectory = Files.createTempDir();
backend = new LDCachingFileBackend(tmpDirectory);