Currently our junit tests all eventualy read the database to fill the objects and test code. My question is, isnt it a better practice to mock/stub and avoid the trip to the database, since we are testing the logic, not the database connection? But if my thought is right on mocking and stubbing, how can it be made possible? For example. ...