@Test
public void testSaveExclusionPattern() throws Exception {

    final EntryNamesVerifyingStorage storage = new EntryNamesVerifyingStorage();
    final ConfigurationFileManager subject = getTestJenkinsConfiguration(storage);
    tempDir.newFile("example.txt");
    tempDir.newFile("example.exe");
    subject.saveConfiguration("*", "*.exe");
    assertEquals(Collections.singletonList("example.txt"), storage.names);
}