/**
  * Ensures that setting the buffer size is effective.
  *
  * @dataProvider bufferSizeProvider
  */
 function testBufferSizeSetting($expected, $size, $msg)
 {
     $dumper = new TextPassDumperAccessor();
     $dumper->loadWithArgv(["--buffersize=" . $size]);
     $dumper->execute();
     $this->assertEquals($expected, $dumper->getBufferSize(), $msg);
 }