Map<String, Object> properties = new HashMap<String, Object>();
properties.put( "configuration_resource", "configuration-test.properties" );
ConfigurationPropertyReader reader = new ConfigurationPropertyReader( properties );
URL value = reader.property( "configuration_resource", URL.class ).getValue();
assertThat( value ).isNotNull();
Properties loadedProperties = loadPropertiesFromUrl( value );
assertThat( loadedProperties.get( "hibernate.ogm.configuration.testproperty" ) ).isEqualTo( "foobar" );
}