@Test
public void testCreateDefinitionsReader() {

    ApplicationContext applicationContext = createMock(ApplicationContext.class);
    replay(applicationContext);
    assertTrue(factory.createDefinitionsReader(applicationContext) instanceof CompatibilityDigesterDefinitionsReader);
    verify(applicationContext);
}