function testCacheOverrideFileWasModified()
  {
    registerTestingIni(
      'testing2.ini',
      'test = 1'
    );

    registerTestingIni(
      'testing2.ini.override',
      'test = 2'
    );

    $ini = new Ini(VAR_DIR . 'testing2.ini', true); //ini should be cached here...

    // caching happens very quickly we have to tweak the original file modification time
    // in order to test
    touch($ini->getOriginalFile(), time()-100);
    touch($ini->getOverrideFile(), time()+100);

    $ini_mock = new IniMockVersionOverride($this);
    $ini_mock->expectOnce('_parse');
    $ini_mock->expectOnce('_saveCache');

    $ini_mock->__construct(VAR_DIR . 'testing2.ini', true);

    $ini_mock->tally();

    $ini->resetCache();
  }