final protected function assertInterfaceExtends(string $parentInterfaceName, string $interfaceName): void
    {
        $this->assertInterfaceExists($parentInterfaceName);
        $this->assertInterfaceExists($interfaceName);

        $reflection = new \ReflectionClass($interfaceName);

        self::assertTrue($reflection->isSubclassOf($parentInterfaceName), \sprintf(
            'Failed asserting that interface "%s" extends "%s".',
            $interfaceName,
            $parentInterfaceName
        ));
    }
final protected function assertInterfaceExtends(string $parentInterfaceName, string $interfaceName): void
    {
        $this->assertInterfaceExists($parentInterfaceName);
        $this->assertInterfaceExists($interfaceName);

        $reflection = new \ReflectionClass($interfaceName);

        self::assertTrue($reflection->isSubclassOf($parentInterfaceName), \sprintf(
            'Failed asserting that interface "%s" extends "%s".',
            $interfaceName,
            $parentInterfaceName
        ));
    }
final protected function assertInterfaceExtends ( string $ parentInterfaceName , string $ interfaceName ) : void { $ this -> assertInterfaceExists ( $ parentInterfaceName ) ; $ this -> assertInterfaceExists ( $ interfaceName ) ; $ reflection = new \ ReflectionClass ( $ interfaceName ) ; self :: assertTrue ( $ reflection -> isSubclassOf ( $ parentInterfaceName ) , \ sprintf ( 'Failed asserting that interface "%s" extends "%s".' , $ interfaceName , $ parentInterfaceName ) ) ; }
Asserts that an interface extends a parent interface.

@param string $parentInterfaceName
@param string $interfaceName
Asserts that an interface extends a parent interface .