}
@Test
public void testMatches() throws Exception {
// prepare test
AlternateConfiguration configuration = new AlternateConfiguration();
configuration.freeRegexActive = true;
configuration.genericRegexActive = false;
configuration.freeRegexItems.clear();
// java file finds Test and properties
configuration.freeRegexItems.add(AlternateFreeRegexItem.of("^(.*?)\\.java$", "$1Test.java"));