public function testClearImplementedInterfaces() { $this->class->addImplementedInterface('IteratorAggregate'); $this->class->addImplementedInterface('Countable'); $this->class->clearImplementedInterfaces(); $this->assertSame(array(), $this->class->getImplementedInterfaces()); }