You are here

public function Framework_SuiteTest::testTestWithAnnotation in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/tests/Framework/SuiteTest.php \Framework_SuiteTest::testTestWithAnnotation()

File

vendor/phpunit/phpunit/tests/Framework/SuiteTest.php, line 185

Class

Framework_SuiteTest
@since Class available since Release 2.0.0 @covers PHPUnit_Framework_TestSuite

Code

public function testTestWithAnnotation() {
  $test = new PHPUnit_Framework_TestSuite('TestWithTest');
  BeforeAndAfterTest::resetProperties();
  $result = $test
    ->run();
  $this
    ->assertEquals(4, count($result
    ->passed()));
}