/**
  * @param string|NULL $content
  * @param array $configuration
  * @param string $expected
  * @dataProvider stdWrap_bytesDataProvider
  * @test
  */
 public function stdWrap_bytes($content, array $configuration, $expected, $locale)
 {
     if (!setlocale(LC_NUMERIC, $locale)) {
         $this->markTestSkipped('Locale ' . $locale . ' is not available.');
     }
     $result = $this->subject->stdWrap_bytes($content, $configuration);
     $this->assertSame($expected, $result);
 }
Ejemplo n.º 2
0
 /**
  * @param string|NULL $content
  * @param array $configuration
  * @param string $expected
  * @dataProvider stdWrap_bytesDataProvider
  * @test
  */
 public function stdWrap_bytes($content, array $configuration, $expected)
 {
     $result = $this->subject->stdWrap_bytes($content, $configuration);
     $this->assertSame($expected, $result);
 }