public function testIsIdMatchesIdAttribute() { $tag = new SimpleAnchorTag(array('href' => 'http://here/', 'id' => 7)); $this->assertIdentical($tag->getAttribute('id'), '7'); $this->assertTrue($tag->isId(7)); }