@Test
public void testConfigureApplicationEjbJar() throws OpenEJBException {

    // Just to find out whether the validationDisabled message shows up
    SystemInstance.get().setProperty(ConfigurationFactory.VALIDATION_SKIP_PROPERTY, "true");
    final boolean offline = true;
    ConfigurationFactory factory = new ConfigurationFactory(offline);
    final String id = "testConfigureApplicationEjbJar";
    EjbJar ejbJar = new EjbJar(id);
    // no real classes engaged so disable metadata (annotation) processing
    ejbJar.setMetadataComplete(true);
    EjbJarInfo info = factory.configureApplication(ejbJar);
    // not much to assert
    assertEquals(id, info.moduleName);
}