source: class ConfigurationFileManagerTest {
  
      @Rule
      public TemporaryFolder tempDir;
      private File defaultFile;
  
      @Test
      public void testSecondBootstrapDoesNothing() {
  
target:         final StoredOrDefaultConfigurationProvider configurationProvider =
              new StoredOrDefaultConfigurationProvider(StoredOrDefaultConfigurationProviderTest.setupMockStorage(null));
          final ConfigurationFileManager subject = getTestJenkinsConfiguration(configurationProvider);
          subject.initConfiguration();
  
          // modify the extracted configuration
          assertTrue(defaultFile.delete());
  
          // running bootstrap again must not restore the file
          subject.initConfiguration();
          assertFalse(defaultFile.exists());
      }
  
  }