public function DocParserTest::testCastNegativeInt

@group DCOM-38

File

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

Class

DocParserTest

Namespace

Doctrine\Tests\Common\Annotations

Code

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