Please give a different name than Tools. It is rather something like EDBTestDataGenerator ... something like that. Also it would be nice if you could remove the setDb method and give the implementations constructors this object as parameter