@Test
public void testGetDefaultRequirement() throws Exception {

    final Schematron schematron = new Schematron();
    schematron.setFile("xyz/bcd/abc.report_only.xsl");
    assertEquals(SchematronRequirement.REPORT_ONLY, schematron.getDefaultRequirement());
    schematron.setFile("xyz/bcd/abc.REPORT_ONLY.xsl");
    assertEquals(SchematronRequirement.REPORT_ONLY, schematron.getDefaultRequirement());
    schematron.setFile("xyz/bcd/abc.xsl");
    assertEquals(SchematronRequirement.REQUIRED, schematron.getDefaultRequirement());
    schematron.setFile("xyz/bcd/abc.required.xsl");
    assertEquals(SchematronRequirement.REQUIRED, schematron.getDefaultRequirement());
    schematron.setFile("xyz/bcd/abc.REQUIRED.xsl");
    assertEquals(SchematronRequirement.REQUIRED, schematron.getDefaultRequirement());
    schematron.setFile("xyz/bcd/abc.disabled.xsl");
    assertEquals(SchematronRequirement.DISABLED, schematron.getDefaultRequirement());
    schematron.setFile("xyz/bcd/abc.DISABLED.xsl");
    assertEquals(SchematronRequirement.DISABLED, schematron.getDefaultRequirement());
}