Tag: many-to-one

  • Symfony 2: Unit Testing Many-to-One Validations on Entities

    From what I can tell, the Symfony 2 cookbook does not have a decent example for handling entity validations and unit testing. I looked around a bit for a good sample and found a decent answer over on Stackoverflow. But outside of setting up a base class for handling future validation test classes, the sample…