@Test
public void shouldProvideUserSuppliedDescriptors() throws Exception {
Map<String, String> descriptors = new HashMap<String, String>();
descriptors.put("property", "value");
Repository repository = new JcrRepository(context, connectionFactory, sourceName, new MockObservable(), null,
descriptors, null);
testDescriptorKeys(repository);
testDescriptorValues(repository);
assertThat(repository.getDescriptor("property"), is("value"));
}