public function Framework_TestCaseTest::testExceptionInSetUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/tests/Framework/TestCaseTest.php \Framework_TestCaseTest::testExceptionInSetUp()
File
- vendor/
phpunit/ phpunit/ tests/ Framework/ TestCaseTest.php, line 107
Class
- Framework_TestCaseTest
- @since Class available since Release 2.0.0 @covers PHPUnit_Framework_TestCase
Code
public function testExceptionInSetUp() {
$test = new ExceptionInSetUpTest('testSomething');
$result = $test
->run();
$this
->assertTrue($test->setUp);
$this
->assertFalse($test->assertPreConditions);
$this
->assertFalse($test->testSomething);
$this
->assertFalse($test->assertPostConditions);
$this
->assertTrue($test->tearDown);
}