public function testSetTagNames() { $loader = new FluentDOMLoaderPDO(); $loader->setTagNames('samples', 'sample'); $this->assertSame('samples', $this->readAttribute($loader, '_tagNameRoot')); $this->assertSame('sample', $this->readAttribute($loader, '_tagNameRecord')); }