DefaultRequestQueueFactory { public static File getCacheDir(Context context) { File file = new File(context.getCacheDir().getPath() + "/volleyer-cache"); return file; }  static RequestQueue create(Context context); static Network getDefaultNetwork(HttpStack httpStack); static Cache getDefaultDiskCache(Context context); static File getCacheDir(Context context);  }
@Test public void factoryShouldReturnCacheDir() { File dir = DefaultRequestQueueFactory.getCacheDir(context); assertNotNull(dir); }