@Test
public void testBetaOsgiVersion()
    throws EnforcerRuleException
{

    Assertions.assertThrows( EnforcerRuleException.class, () -> {
        RequireOsgiCompatibleVersionRule rule = new RequireOsgiCompatibleVersionRule();
        rule.ensureValidOsgiVersion( "1.beta.2" );
    } );
}