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