You are here

public function Framework_TestListenerTest::testStartStop in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/Framework/TestListenerTest.php \Framework_TestListenerTest::testStartStop()

File

vendor/phpunit/phpunit/tests/Framework/TestListenerTest.php, line 100

Class

Framework_TestListenerTest
@since Class available since Release 2.0.0 @covers PHPUnit_Framework_TestCase

Code

public function testStartStop() {
  $test = new Success();
  $test
    ->run($this->result);
  $this
    ->assertEquals(1, $this->startCount);
  $this
    ->assertEquals(1, $this->endCount);
}