rootProp.put( "hidden.long.dotted.prop2", "hello again" );
Properties fallbackProp = new Properties();
fallbackProp.put( "default.long.dotted.prop3", "hello!" );
Properties masked = new MaskedProperty( rootProp, "some", fallbackProp );
assertTrue( masked.keySet().contains( "long.dotted.prop1" ) );
assertTrue( masked.keySet().contains( "default.long.dotted.prop3" ) );
assertTrue( masked.keySet().contains( "inherited.prop" ) );
assertFalse( masked.keySet().contains( "hidden.long.dotted.prop2" ) );
assertFalse( masked.keySet().contains( "long.dotted.prop2" ) );