use of org.jboss.tools.hibernate.runtime.common.AbstractGenericExporterFacade in project jbosstools-hibernate by jbosstools.
the class GenericExporterFacadeTest method beforeEach.
@BeforeEach
public void beforeEach() {
genericExporter = new GenericExporter();
genericExporterFacade = new AbstractGenericExporterFacade(FACADE_FACTORY, genericExporter) {
};
}
use of org.jboss.tools.hibernate.runtime.common.AbstractGenericExporterFacade in project jbosstools-hibernate by jbosstools.
the class GenericExporterFacadeTest method beforeEach.
@BeforeEach
public void beforeEach() {
genericExporter = new GenericExporter();
genericExporterFacade = new AbstractGenericExporterFacade(FACADE_FACTORY, genericExporter) {
};
}
use of org.jboss.tools.hibernate.runtime.common.AbstractGenericExporterFacade in project jbosstools-hibernate by jbosstools.
the class GenericExporterFacadeTest method beforeEach.
@BeforeEach
public void beforeEach() {
genericExporter = new GenericExporter();
genericExporterFacade = new AbstractGenericExporterFacade(FACADE_FACTORY, genericExporter) {
};
}
use of org.jboss.tools.hibernate.runtime.common.AbstractGenericExporterFacade in project jbosstools-hibernate by jbosstools.
the class GenericExporterFacadeTest method setUp.
@Before
public void setUp() throws Exception {
Enhancer enhancer = new Enhancer();
enhancer.setSuperclass(GenericExporter.class);
enhancer.setCallback(new MethodInterceptor() {
@Override
public Object intercept(Object obj, Method method, Object[] args, MethodProxy proxy) throws Throwable {
if (methodName == null) {
methodName = method.getName();
}
if (arguments == null) {
arguments = args;
}
return proxy.invokeSuper(obj, args);
}
});
genericExporter = (GenericExporter) enhancer.create();
genericExporterFacade = new AbstractGenericExporterFacade(FACADE_FACTORY, genericExporter) {
};
reset();
}
use of org.jboss.tools.hibernate.runtime.common.AbstractGenericExporterFacade in project jbosstools-hibernate by jbosstools.
the class GenericExporterFacadeTest method beforeEach.
@BeforeEach
public void beforeEach() {
genericExporter = new GenericExporter();
genericExporterFacade = new AbstractGenericExporterFacade(FACADE_FACTORY, genericExporter) {
};
}
Aggregations