/** * @expectedException LogicException * @expectedExceptionMessage The stream filter API can not be used */ public function testFailedapppendStreamFilter() { $csv = new Writer(new SplTempFileObject()); $this->assertFalse($csv->isActiveStreamFilter()); $csv->appendStreamFilter('string.toupper'); }