[TASK] Cleanup StringValidatorTest 78/55278/4
authorAlexander Schnitzler <git@alexanderschnitzler.de>
Fri, 5 Jan 2018 13:22:24 +0000 (14:22 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 8 Jan 2018 19:42:37 +0000 (20:42 +0100)
commit45f04e50f4827c2d24d4ed1fb27c6488aebccc28
treefd69f2fb0519274b78331bea8df6732d1712719f
parentc7bfc16e1fd52593c5efe4bb8a62b73daf39d478
[TASK] Cleanup StringValidatorTest

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

Releases: master
Resolves: #83483
Change-Id: Id7fca4bbe43d907378031ce7b8f35ed4a364bcc7
Reviewed-on: https://review.typo3.org/55278
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/StringValidatorTest.php