You are here

public function Util_TestTest::testFunctionParenthesesAreAllowed in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/tests/Util/TestTest.php \Util_TestTest::testFunctionParenthesesAreAllowed()

@covers PHPUnit_Util_Test::getLinesToBeCovered @covers PHPUnit_Util_Test::getLinesToBeCoveredOrUsed

File

vendor/phpunit/phpunit/tests/Util/TestTest.php, line 495

Class

Util_TestTest
@since Class available since Release 3.3.6

Code

public function testFunctionParenthesesAreAllowed() {
  $this
    ->assertSame(array(
    TEST_FILES_PATH . 'CoveredFunction.php' => range(2, 4),
  ), PHPUnit_Util_Test::getLinesToBeCovered('CoverageFunctionParenthesesTest', 'testSomething'));
}