use of org.xml.sax.EntityResolver in project jbosstools-hibernate by jbosstools.
the class ConfigurationFacadeTest method testSetEntityResolver.
@Test
public void testSetEntityResolver() {
EntityResolver testResolver = new DefaultHandler();
Assert.assertNotSame(testResolver, configuration.getEntityResolver());
configurationFacade.setEntityResolver(testResolver);
Assert.assertSame(testResolver, configuration.getEntityResolver());
}
use of org.xml.sax.EntityResolver in project jbosstools-hibernate by jbosstools.
the class ConfigurationFacadeTest method testGetEntityResolver.
@Test
public void testGetEntityResolver() {
EntityResolver testResolver = new DefaultHandler();
Assert.assertNotSame(testResolver, configurationFacade.getEntityResolver());
configuration.setEntityResolver(testResolver);
Assert.assertSame(testResolver, configurationFacade.getEntityResolver());
}
use of org.xml.sax.EntityResolver in project jbosstools-hibernate by jbosstools.
the class ConfigurationFacadeTest method testGetEntityResolver.
@Test
public void testGetEntityResolver() {
EntityResolver testResolver = new DefaultHandler();
Assert.assertNotSame(testResolver, configurationFacade.getEntityResolver());
configuration.setEntityResolver(testResolver);
Assert.assertSame(testResolver, configurationFacade.getEntityResolver());
}
use of org.xml.sax.EntityResolver in project jbosstools-hibernate by jbosstools.
the class ConfigurationFacadeTest method testSetEntityResolver.
@Test
public void testSetEntityResolver() {
EntityResolver testResolver = new DefaultHandler();
Assert.assertNotSame(testResolver, configuration.getEntityResolver());
configurationFacade.setEntityResolver(testResolver);
Assert.assertSame(testResolver, configuration.getEntityResolver());
}
use of org.xml.sax.EntityResolver in project jbosstools-hibernate by jbosstools.
the class ConfigurationFacadeTest method testSetEntityResolver.
@Test
public void testSetEntityResolver() {
EntityResolver testResolver = new DefaultHandler();
Assert.assertNotSame(testResolver, configuration.getEntityResolver());
configurationFacade.setEntityResolver(testResolver);
Assert.assertSame(testResolver, configuration.getEntityResolver());
}
Aggregations