@Test
public void testResolveConfigurationResource() throws Exception {

    factory.resolveConfigurationResource();
    DefaultResourceLoader loader = new DefaultResourceLoader();
    Resource res = loader.getResource("/repository.xml");
    assertEquals(res, factory.getConfiguration());
    assertEquals(".", factory.getHomeDir().getFilename());
}