/** * @dataProvider onlyBModesDataProvider * @param string $mode */ public function testIsBinary($mode) { $streamMode = new Magento_Filesystem_Stream_Mode($mode); $this->assertTrue($streamMode->isBinary()); }