You are here

public function Twig_Tests_Profiler_ProfileTest::testConstructor in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/test/Twig/Tests/Profiler/ProfileTest.php \Twig_Tests_Profiler_ProfileTest::testConstructor()

File

vendor/twig/twig/test/Twig/Tests/Profiler/ProfileTest.php, line 14

Class

Twig_Tests_Profiler_ProfileTest

Code

public function testConstructor() {
  $profile = new Twig_Profiler_Profile('template', 'type', 'name');
  $this
    ->assertEquals('template', $profile
    ->getTemplate());
  $this
    ->assertEquals('type', $profile
    ->getType());
  $this
    ->assertEquals('name', $profile
    ->getName());
}