use of org.jboss.tools.hibernate.runtime.spi.IOverrideRepository in project jbosstools-hibernate by jbosstools.
the class FacadeFactoryTest method testCreateOverrideRepository.
@Test
public void testCreateOverrideRepository() {
OverrideRepository overrideRepository = new OverrideRepository();
IOverrideRepository facade = facadeFactory.createOverrideRepository(overrideRepository);
Assert.assertSame(overrideRepository, ((IFacade) facade).getTarget());
}
use of org.jboss.tools.hibernate.runtime.spi.IOverrideRepository in project jbosstools-hibernate by jbosstools.
the class ServiceImplTest method testNewOverrideRepository.
@Test
public void testNewOverrideRepository() {
IOverrideRepository overrideRepository = service.newOverrideRepository();
Assert.assertNotNull(overrideRepository);
Object target = ((IFacade) overrideRepository).getTarget();
Assert.assertNotNull(target);
Assert.assertTrue(target instanceof OverrideRepository);
}
use of org.jboss.tools.hibernate.runtime.spi.IOverrideRepository in project jbosstools-hibernate by jbosstools.
the class FacadeFactoryTest method testCreateOverrideRepository.
@Test
public void testCreateOverrideRepository() {
OverrideRepository overrideRepository = new OverrideRepository();
IOverrideRepository facade = facadeFactory.createOverrideRepository(overrideRepository);
Assert.assertSame(overrideRepository, ((IFacade) facade).getTarget());
}
use of org.jboss.tools.hibernate.runtime.spi.IOverrideRepository in project jbosstools-hibernate by jbosstools.
the class ServiceImplTest method testNewOverrideRepository.
@Test
public void testNewOverrideRepository() {
IOverrideRepository overrideRepository = service.newOverrideRepository();
Assert.assertNotNull(overrideRepository);
Object target = ((IFacade) overrideRepository).getTarget();
Assert.assertNotNull(target);
Assert.assertTrue(target instanceof OverrideRepository);
}
use of org.jboss.tools.hibernate.runtime.spi.IOverrideRepository in project jbosstools-hibernate by jbosstools.
the class ServiceImplTest method testNewOverrideRepository.
@Test
public void testNewOverrideRepository() {
IOverrideRepository overrideRepository = service.newOverrideRepository();
Assert.assertNotNull(overrideRepository);
Object target = ((IFacade) overrideRepository).getTarget();
Assert.assertNotNull(target);
Assert.assertTrue(target instanceof OverrideRepository);
}
Aggregations