Пример #1
0
 public function testHasImplementedInterfaces()
 {
     $this->assertFalse($this->class->hasImplementedInterfaces());
     $this->class->addImplementedInterface('IteratorAggregate');
     $this->assertTrue($this->class->hasImplementedInterfaces());
     $this->class->removeImplementedInterface('IteratorAggregate');
     $this->assertFalse($this->class->hasImplementedInterfaces());
 }