I am testing code that uses
DriverManager.getConnection(ConnectionString);
If I call MockDriver.setupConnect the connection is
only valid for that instance of the driver. However If
I make the field connection in MockDriver static so
that calls to setupConnect remain for all instances it
works fine.
Logged In: YES
user_id=123464
Sorry, don't understand the problem. Please can you
clarify. With an example?