Zend Framework and Doctrine 2 - are my unit tests sufficient?
问题 I'm quite new to Zend and unit testing in general. I have come up with a small application that uses Zend Framework 2 and Doctrine. It has only one model and controller and I want to run some unit tests on them. Here's what I have so far: Base doctrine 'entity' class, containing methods I want to use in all of my entities: <?php /** * Base entity class containing some functionality that will be used by all * entities */ namespace Perceptive\Database; use Zend\Validator\ValidatorChain; class