[TASK] Cleanup StringLengthValidatorTest 77/55277/5
authorAlexander Schnitzler <git@alexanderschnitzler.de>
Fri, 5 Jan 2018 13:10:42 +0000 (14:10 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 8 Jan 2018 19:56:19 +0000 (20:56 +0100)
commit1cfb9b326d69c27f1d785569ff4054e58942937c
tree949b85d6f8edbcdafcdc9ccaf230f711370b255b
parentb2c00a92eec3b1a2fbad8eb1d98ef60bb357bcfd
[TASK] Cleanup StringLengthValidatorTest

- Replace eval with anonymous classes
- Avoid mocks if not necessary

Releases: master
Resolves: #83482
Change-Id: I38a7b5c78ffbe6f1347e70154eb72077916892bc
Reviewed-on: https://review.typo3.org/55277
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Reiner Teubner <reiner.teubner@me.com>
Tested-by: Reiner Teubner <reiner.teubner@me.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/extbase/Tests/Unit/Validation/Validator/StringLengthValidatorTest.php