public function testGetInterfaceNamesWillReturnAllInheritedInterfaceImplementationsOnASubclass()
{
$sourceLocator = new SingleFileSourceLocator(__DIR__ . '/../Fixture/ClassWithInterfaces.php');
$this->assertSame([ClassWithInterfaces\A::class, ClassWithInterfacesOther\B::class, ClassWithInterfaces\C::class, ClassWithInterfacesOther\D::class, \E::class], (new ClassReflector($sourceLocator))->reflect(ClassWithInterfaces\SubExampleClass::class)->getInterfaceNames(), 'Child class interfaces are retrieved in the correct numeric order (indexed by number)');
}