Provides convenient creation of Doctrine entities in tests