use of org.jboss.tools.hibernate.runtime.common.AbstractConfigurationFacade in project jbosstools-hibernate by jbosstools.
the class ExporterFacadeTest method testSetConfiguration.
@Test
public void testSetConfiguration() {
Configuration cfg = new Configuration();
IConfiguration configuration = new AbstractConfigurationFacade(FACADE_FACTORY, cfg) {
};
exporterFacade.setConfiguration(configuration);
Assert.assertEquals("setConfiguration", methodName);
Assert.assertArrayEquals(new Object[] { cfg }, arguments);
}
use of org.jboss.tools.hibernate.runtime.common.AbstractConfigurationFacade in project jbosstools-hibernate by jbosstools.
the class ExporterFacadeTest method testSetConfiguration.
@Test
public void testSetConfiguration() {
Configuration cfg = new Configuration();
IConfiguration configuration = new AbstractConfigurationFacade(FACADE_FACTORY, cfg) {
};
exporterFacade.setConfiguration(configuration);
Assert.assertEquals("setConfiguration", methodName);
Assert.assertArrayEquals(new Object[] { cfg }, arguments);
}
use of org.jboss.tools.hibernate.runtime.common.AbstractConfigurationFacade in project jbosstools-hibernate by jbosstools.
the class ExporterFacadeTest method testSetConfiguration.
@Test
public void testSetConfiguration() {
Configuration cfg = new Configuration();
IConfiguration configuration = new AbstractConfigurationFacade(FACADE_FACTORY, cfg) {
};
exporterFacade.setConfiguration(configuration);
Assert.assertEquals("setConfiguration", methodName);
Assert.assertArrayEquals(new Object[] { cfg }, arguments);
}
Aggregations