lithium\tests\cases\test\UnitTest::testSkipIf PHP 메소드

testSkipIf() 공개 메소드

public testSkipIf ( )
    public function testSkipIf()
    {
        try {
            $this->test->skipIf(true, 'skip me');
        } catch (Exception $e) {
            $result = $e->getMessage();
        }
        $expected = 'skip me';
        $this->assertEqual($expected, $result);
    }
UnitTest