Пример #1
0
 public function testHasAttr()
 {
     $this->assertEquals(true, self::$l->hasAttr());
     self::$l->resetAttr();
     $this->assertEquals(false, self::$l->hasAttr());
     self::$l->setAttr(['class' => 'main emph', 'id' => 'div1']);
 }