I was doing some unit testing and integration testing in Ruby and found FactoryGirl, which helped me a lot in generating models and resolving referential dependencies.


I'm wondering if there is something similar for Java. I don't know what terms to search on, searching Java Factories sort of got me tons of results that were all over the place. (mostly results on the abstract factory pattern)