diff --git a/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php b/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php index c7be84faab..ce01bbbb74 100644 --- a/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php +++ b/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php @@ -55,6 +55,17 @@ abstract class AbstractAsciiTestCase extends TestCase ]; } + public function testUnwrap() + { + $expected = ['hello', 'world']; + + $s = static::createFromString(''); + + $actual = $s::unwrap([static::createFromString('hello'), static::createFromString('world')]); + + $this->assertEquals($expected, $actual); + } + /** * @dataProvider provideWrap */