File "ExceptionInSetUpTest.php"
Full Path: /www/wwwroot/shphe-en.com/smsapi/api_sdk/vendor/phpunit/phpunit/tests/_files/ExceptionInSetUpTest.php
File size: 753 bytes
MIME-type: --
Charset: utf-8
<?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;
}
}