/** * Tests replacing single ampersands with the entity, but leaving double ampersands * and ampsersand-octothorpe combinations intact. * * @return void */ public function testAmpReplace() { $this->assertEquals('&&george&maryson', $this->object->ampReplace('&&george&maryson'), 'Should replace single ampersands with HTML entity'); }