StatusTest.php 603 B

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