[TASK] Add missing unit test for enumeration 17/31817/2
authorSascha Egerer <sascha.egerer@dkd.de>
Fri, 25 Jul 2014 16:00:56 +0000 (18:00 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 25 Jul 2014 16:48:45 +0000 (18:48 +0200)
commite9ea084972a1050a7278b2fc64fa5b17ab74c14d
tree5850b22a615436d0f0866fbc0377af5475e1f5b0
parent9365def5346df3c4a8d1191ab328172b1f683f8b
[TASK] Add missing unit test for enumeration

Add unit test that checks if the constructor throws
an exception if an invalid value is requested.

Resolves: #60572
Releases: 6.3, 6.2
Change-Id: I2179414f94bbd6465c5b780c71dfed3c91e71776
Reviewed-on: http://review.typo3.org/31817
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Type/Enumeration.php
typo3/sysext/core/Tests/Unit/Type/EnumerationTest.php