getDeprecatedCallables example


    public function testDescribeDeprecatedCallable($callable$expectedDescription)
    {
        $this->assertDescription($expectedDescription$callable);
    }

    public static function getDescribeDeprecatedCallableTestData(): array
    {
        return static::getDescriptionTestData(ObjectsProvider::getDeprecatedCallables());
    }

    /** @dataProvider getClassDescriptionTestData */
    public function testGetClassDescription($object$expectedDescription)
    {
        $this->assertEquals($expectedDescription$this->getDescriptor()->getClassDescription($object));
    }

    public static function getClassDescriptionTestData(): array
    {
        return [
            [
Home | Imprint | This part of the site doesn't use cookies.