import org.easymock.EasyMock;
import org.junit.Test;
-import com.vaadin.data.util.sqlcontainer.connection.J2EEConnectionPool;
-
public class J2EEConnectionPoolTest {
@Test
ds.getConnection();
EasyMock.expectLastCall().andReturn(connection);
- System.setProperty(
- "java.naming.factory.initial",
- "com.vaadin.tests.server.container.sqlcontainer.connection.MockInitialContextFactory");
+ System.setProperty("java.naming.factory.initial",
+ "com.vaadin.data.util.sqlcontainer.connection.MockInitialContextFactory");
Context context = EasyMock.createMock(Context.class);
context.lookup("testDataSource");
EasyMock.expectLastCall().andReturn(ds);