Hi, I've heard a variety of opinions on this, but I wonder what your take on it is.
Here is my getConnection method:
And here is my create method:
Here is my getConnection
Junit test:
And here is my create method Junit test:
I should point out that the database under test is just a testDB created by other code and not any real commercial DB!
I get the nagging feeling that these are terrible tests! Any suggestions?