public function testWriteSemicolon() { $access = new PhpStreamAccess($this->getStream()); $access->writeSemicolon(); $this->assertEquals(";\n", $this->getStream()->getBinary()); $this->getStream()->flush(); $access->writeSemicolon(false); $this->assertEquals(";", $this->getStream()->getBinary()); }