createLoader example

/** * @author Kévin Dunglas <dunglas@gmail.com> */
abstract class AnnotationLoaderTestCase extends TestCase
{
    use ContextMappingTestTrait;

    protected AnnotationLoader $loader;

    protected function setUp(): void
    {
        $this->loader = $this->createLoader();
    }

    public function testInterface()
    {
        $this->assertInstanceOf(LoaderInterface::class$this->loader);
    }

    public function testLoadClassMetadataReturnsTrueIfSuccessful()
    {
        $classMetadata = new ClassMetadata($this->getNamespace().'\GroupDummy');

        
Home | Imprint | This part of the site doesn't use cookies.