public void testMessageCacheSpoolDir() throws RepositoryException, ValidationException {
final HashMap<String, String> properties = Maps.newHashMap(validProperties);
properties.put("message_cache_spool_dir", "wat?/a/spool/dir");
Configuration configuration = new Configuration();
new JadConfig(new InMemoryRepository(properties), configuration).process();
Assert.assertEquals(configuration.getMessageCacheSpoolDir(), "wat?/a/spool/dir");
}