You are here

PHPDriverTest.php in Zircon Profile 8

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/PHPDriverTest.php
View source
<?php

namespace Doctrine\Tests\Common\Persistence\Mapping;

use Doctrine\Tests\DoctrineTestCase;
use Doctrine\Common\Persistence\Mapping\Driver\PHPDriver;
class PHPDriverTest extends DoctrineTestCase {
  public function testLoadMetadata() {
    $metadata = $this
      ->getMock('Doctrine\\Common\\Persistence\\Mapping\\ClassMetadata');
    $metadata
      ->expects($this
      ->once())
      ->method('getFieldNames');
    $driver = new PHPDriver(array(
      __DIR__ . "/_files",
    ));
    $driver
      ->loadMetadataForClass('TestEntity', $metadata);
  }

}

Classes

Namesort descending Description
PHPDriverTest