You are here

class NullDumperTest in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/dependency-injection/Tests/LazyProxy/PhpDumper/NullDumperTest.php \Symfony\Component\DependencyInjection\Tests\LazyProxy\PhpDumper\NullDumperTest

Tests for { @author Marco Pivetta <ocramius@gmail.com>

@covers \Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper

Hierarchy

  • class \Symfony\Component\DependencyInjection\Tests\LazyProxy\PhpDumper\NullDumperTest extends \Symfony\Component\DependencyInjection\Tests\LazyProxy\PhpDumper\PHPUnit_Framework_TestCase

Expanded class hierarchy of NullDumperTest

See also

\Symfony\Component\DependencyInjection\PhpDumper\NullDumper}.

File

vendor/symfony/dependency-injection/Tests/LazyProxy/PhpDumper/NullDumperTest.php, line 24

Namespace

Symfony\Component\DependencyInjection\Tests\LazyProxy\PhpDumper
View source
class NullDumperTest extends \PHPUnit_Framework_TestCase {
  public function testNullDumper() {
    $dumper = new NullDumper();
    $definition = new Definition('stdClass');
    $this
      ->assertFalse($dumper
      ->isProxyCandidate($definition));
    $this
      ->assertSame('', $dumper
      ->getProxyFactoryCode($definition, 'foo'));
    $this
      ->assertSame('', $dumper
      ->getProxyCode($definition));
  }

}

Members