Does a framework like Factory Girl exist for Java?
Scala or Java equivalent of Ruby factory_girl or Python factory_boy (convenient factory pattern for unit testing)
Static Factory Method Abstract Factory pattern with 2 factory methods Factory Pattern with Static Factory method or Constructor What's wrong with my factory? Should Factory Class' create() method be static? Or make Factory Class singleton? Using abstract factory with Spring framework Factory classes Why use a factory instead of 'new'? What is factory method in java? How to use Factory from apache.commons? Create factory from static factory method, then call static factory method on that id How can be spring bean with factory-method but without factory? What is Application context and bean factory in spring framework Factory method, why we use a static call to get the object from factory factory method pattern in java Factory pattern in java Passing parameter into Spring factory bean factory method Spring and factory object Spring framework - how to pass parameters in static factory method Is this code implements 'Factory Pattern', factory methods, both or none? Confused about this factory, as it doesn't look like an Abstract Factory nor Factory Method How i can use static factory method in my code in java Using fields/variable in Factory class to be used across objects created through factory Java 1.4 Factory Question Factory Method VS Factory Object Is this not a factory pattern? Value of Factory Classes Factory Method Vs Abstract Factory What is the difference between spring factory-method and factory-bean?