public function DocParserTest::testCastInt

@group DCOM-38

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/DocParserTest.php, line 1013

Class

DocParserTest

Namespace

Doctrine\Tests\Common\Annotations

Code

public function testCastInt() {
  $parser = $this
    ->createTestParser();
  $result = $parser
    ->parse("@Name(foo=1234)");
  $annot = $result[0];
  $this
    ->assertInternalType('int', $annot->foo);
}