public void setUp() throws Exception
{
super.setUp();
ObjectTreePanel localMockObjectTreePanel =
localMockHelper.createMock("localMockObjectTreePanel", ObjectTreePanel.class);
SquirrelPreferences localMockSquirrelPreferences =
localMockHelper.createMock("mockSquirrelPreferences", SquirrelPreferences.class);
ISession localMockSession = localMockHelper.createMock("localMockSession", ISession.class);
IApplication localMockApplication =
localMockHelper.createMock("localMockApplication", IApplication.class);
Statement localMockStatement = localMockHelper.createMock("localMockStatement", Statement.class);
ITableInfo localMockTableInfo = localMockHelper.createMock("localMockTableInfo", ITableInfo.class);
ResultSet localMockResultSet = localMockHelper.createMock("localMockResultSet", ResultSet.class);
ResultSetMetaData localMockResultSetMetaData =
localMockHelper.createMock("localMockResultSetMetaData", ResultSetMetaData.class);
expect(localMockObjectTreePanel.getSession()).andStubReturn(localMockSession);
expect(localMockSession.getApplication()).andStubReturn(localMockApplication);
expect(localMockApplication.getSquirrelPreferences()).andStubReturn(localMockSquirrelPreferences);
expect(localMockSquirrelPreferences.getShowPleaseWaitDialog()).andStubReturn(false);
expect(localMockTableInfo.getQualifiedName()).andStubReturn("Test Qualified TableName");
localMockStatement.close();
expect(localMockResultSet.getMetaData()).andStubReturn(localMockResultSetMetaData);