public function PHPUnit_Framework_TestCase::getNumAssertions

Returns the number of assertions performed by this test.

@since Method available since Release 3.3.0

Return value

integer

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php, line 1487

Class

PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.

Code

public function getNumAssertions() {
  return $this->numAssertions;
}