use of org.jboss.tools.hibernate.runtime.spi.IEnvironment in project jbosstools-hibernate by jbosstools.
the class FacadeFactoryTest method testCreateEnvironment.
@Test
public void testCreateEnvironment() {
IEnvironment environment = facadeFactory.createEnvironment();
Assert.assertNotNull(environment);
Assert.assertTrue(environment instanceof EnvironmentFacadeImpl);
}
use of org.jboss.tools.hibernate.runtime.spi.IEnvironment in project jbosstools-hibernate by jbosstools.
the class FacadeFactoryTest method testCreateEnvironment.
@Test
public void testCreateEnvironment() {
IEnvironment environment = facadeFactory.createEnvironment();
Assert.assertNotNull(environment);
Assert.assertTrue(environment instanceof EnvironmentFacadeImpl);
}
use of org.jboss.tools.hibernate.runtime.spi.IEnvironment in project jbosstools-hibernate by jbosstools.
the class ServiceImplTest method testGetEnvironment.
@Test
public void testGetEnvironment() {
IEnvironment environment = service.getEnvironment();
Assert.assertNotNull(environment);
Assert.assertEquals(environment.getTransactionManagerStrategy(), Environment.TRANSACTION_COORDINATOR_STRATEGY);
}
use of org.jboss.tools.hibernate.runtime.spi.IEnvironment in project jbosstools-hibernate by jbosstools.
the class FacadeFactoryTest method testCreateEnvironment.
@Test
public void testCreateEnvironment() {
IEnvironment environment = facadeFactory.createEnvironment();
Assert.assertNotNull(environment);
Assert.assertTrue(environment instanceof EnvironmentFacadeImpl);
}
use of org.jboss.tools.hibernate.runtime.spi.IEnvironment in project jbosstools-hibernate by jbosstools.
the class ServiceImplTest method testGetEnvironment.
@Test
public void testGetEnvironment() {
IEnvironment environment = service.getEnvironment();
Assert.assertNotNull(environment);
Assert.assertEquals(environment.getTransactionManagerStrategy(), Environment.TRANSACTION_COORDINATOR_STRATEGY);
}
Aggregations