Unit Testing Code Snippet

I have added a note to inform the user that they will need to mock out the getAlbum() method of AlbumTable as you get the following error otherwise:

1) AlbumTest\Controller\AlbumControllerTest::testEditActionRedirectsAfterValidPost
Zend\Form\Exception\InvalidArgumentException: Zend\Form\Fieldset::setObject expects an object argument; received ""
Merge pull request #1143
Merge pull request #1143 in master
Renamed Zend\Validator\Alpha to Zend\I18n\Validator\Alpha
Zend\Validator\Alnum to Zend\I18n\Validator\Alnum
Renamed Zend\Filter\Alpha to Zend\I18n\Filter\Alpha
Renamed Zend\Filter\Alnum to Zend\I18n\Filter\Alnum
Renamed Zend\Validator\PostCode to Zend\I18n\Validator\PostCode
Renamed Zend\\Validator\\Alpha to Zend\\I18n\\Validator\\Alpha
Updated Zend\Filter\Alnum, Alpha, Zend\Validator\Alpha title underscore length
zend.filter.set.(alpha|alnum).options to zend.i18n.filter.set.\1.options
zend.validator.set.(alpha|alnum|float|int).options to zend.i18n.validator.set.\1.options
Renamed zend.validator.alnum.rst to zend.i18n.validator.alnum.rst
Renamed zend.validator.alpha.rst to zend.i18n.validator.alpha.rst
Renamed zend.validator.float.rst to zend.i18n.validator.float.rst
Renamed zend.validator.int.rst to zend.i18n.validator.int.rst
Renamed zend.filter.alnum.rst to zend.i18n.filter.alnum.rst
Renamed zend.filter.alpha.rst to zend.i18n.filter.alpha.rst
Merge pull request #1145
Merge pull request #1145 in master