Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
smsapi
/
api_sdk
/
vendor
/
phpunit
/
phpunit
/
tests
/
_files
:
ExceptionInAssertPostConditionsTest.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php class ExceptionInAssertPostConditionsTest 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; } protected function assertPreConditions() { $this->assertPreConditions = true; } public function testSomething() { $this->testSomething = true; } protected function assertPostConditions() { $this->assertPostConditions = true; throw new Exception; } protected function tearDown() { $this->tearDown = true; } }