@Test
public void testCachePath() {

    mDiskCache.cache(Collections.singletonList(new Event(1000, "test")));
    File cacheFolder = new File(mBaseCacheDir, "piwik_cache");
    File hostFolder = new File(cacheFolder, "testhost");
    assertTrue(hostFolder.exists());
    assertEquals(1, hostFolder.listFiles().length);
}