You are here

class NullDumperTest in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/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

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/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