/** * @return void * @covers \pdepend\reflection\api\StaticReflectionInterface * @group reflection * @group reflection::api * @group unittest */ public function testGetInterfaceNamesReturnsExpectedArrayOfStrings() { $interface0 = new StaticReflectionInterface(__CLASS__ . '0', ''); $interface1 = new StaticReflectionInterface(__CLASS__ . '1', ''); $interface2 = new StaticReflectionInterface(__CLASS__ . '2', ''); $interface0->initInterfaces(array($interface1, $interface2)); $interface1->initInterfaces(array($interface2)); $this->assertSame(array(__CLASS__ . '1', __CLASS__ . '2'), $interface0->getInterfaceNames()); }