/** * @covers pgn\tags\UknownTag::setName() * @covers pgn\tags\UknownTag::set() * @covers pgn\tags\UknownTag::__toString() */ public function testToString() { $tagName = 'PlyCount'; $this->object->setName($tagName); $this->object->set('1'); $this->assertSame('[PlyCount "1"]', $this->object->__toString()); }