@Test
public void notActivatedSubJavaVersion2digitsRange()
{

    SubJavaVersionProfileActivator activator = new SubJavaVersionProfileActivator();
    Profile profile = new Profile();
    profile.setId( "test" );
    profile.setActivation( new Activation(){
        @Override
        public String getJdk()
        {
            return "[1.9,)";
        }
    } );
    ProfileActivationContext context = new DefaultProfileActivationContext(){
        @Override
        public Map<String, String> getSystemProperties()
        {
            Map<String,String> props = new HashMap<>();
            props.put( "java.version", "1.8.0_222-b10" );
            return props;
        }
    };
    boolean activated = activator.isActive( profile, context, null);
    assertThat("Activated", activated, is(false));
}