}
@Test
public void testHeaderSectionsWithAmbiguousSeparation() throws MalformedURLException {
HeaderSection sectionA = new HeaderSection();
sectionA.setKey("COPYRIGHT_SECTION");
sectionA.setDefaultValue("Copyright (C) 2011");
HeaderSection sectionB = new HeaderSection();
sectionB.setKey("NAME_SECTION");
sectionB.setEnsureMatch("\\w+");
sectionB.setDefaultValue("SomeGuy");
HeaderSection[] sections = { sectionA, sectionB };
Map<String, String> props = Collections.emptyMap();
Header header = new Header(getClass().getResource("/test-header6.txt"), props, sections);