1<?php 2class StatusTest extends \PHPUnit\Framework\TestCase 3{ 4 public function testSuccess() 5 { 6 $this->assertTrue(true); 7 } 8 9 public function testFailure() 10 { 11 $this->assertTrue(false); 12 } 13 14 public function testError() 15 { 16 throw new \Exception; 17 } 18 19 public function testIncomplete() 20 { 21 $this->markTestIncomplete(); 22 } 23 24 public function testSkipped() 25 { 26 $this->markTestSkipped(); 27 } 28 29 public function testRisky() 30 { 31 } 32 33 public function testWarning() 34 { 35 throw new PHPUnit_Framework_Warning; 36 } 37} 38