@Test(expected = ParseException.class)
public void testMultipleExclusions() throws ParseException
{

   // exclusion applies to all elements, no need for multiple !'s, hence an exception
   PathTemplateFilter.parse(Collections.singletonList("template:!first,!second"));
}