Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
local
/
wp
/
vendor
/
phpunit
/
phpunit
/
tests
/
_files
📤 Upload
📝 New File
📁 New Folder
Close
Editing: ExceptionInSetUpTest.php
<?php class ExceptionInSetUpTest extends PHPUnit_Framework_TestCase { public $setUp = false; public $assertPreConditions = false; public $assertPostConditions = false; public $tearDown = false; public $testSomething = false; protected function setUp() { $this->setUp = true; throw new Exception; } protected function assertPreConditions() { $this->assertPreConditions = true; } public function testSomething() { $this->testSomething = true; } protected function assertPostConditions() { $this->assertPostConditions = true; } protected function tearDown() { $this->tearDown = true; } }
Save
Cancel