ApiPlatform\SchemaGenerator\Tests\AnnotationGenerator\ApiPlatformCoreAnnotationGeneratorTest::testGenerateClassAnnotations PHP Метод

testGenerateClassAnnotations() публичный Метод

    public function testGenerateClassAnnotations()
    {
        $this->assertSame(['@ApiResource(iri="http://schema.org/Res")'], $this->generator->generateClassAnnotations('Res'));
    }