@Test (timeout = 30000)
public void testSetupDistributedCacheEmpty() throws IOException {

  Configuration conf = new Configuration();
  Map<String, LocalResource> localResources = new HashMap<String, LocalResource>();
  MRApps.setupDistributedCache(conf, localResources);
  assertTrue("Empty Config did not produce an empty list of resources",
      localResources.isEmpty());
}