[TASK] Add missing unit test for enumeration 19/31819/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:56:07 +0000 (18:56 +0200)
commit0e6b6601f68f5e0115ebc239a83f5e466bb0361f
tree7343c536ad02f0a952077cd004ff749581292d05
parent2af5f120bc86e61cea72692d77a46e80f42533dc
[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/31819
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