@PHPUnit35Migration-risky.test-in.php 475 B

1234567891011121314151617181920
  1. <?php
  2. class FooTest extends \PHPUnit_Framework_TestCase {
  3. public function test_dedicate_assert($foo) {
  4. $this->assertTrue(is_null($foo));
  5. $this->assertTrue(is_array($foo));
  6. $this->assertTrue(is_nan($foo));
  7. $this->assertTrue(is_readable($foo));
  8. }
  9. /**
  10. * Foo.
  11. * @expectedException FooException
  12. * @expectedExceptionCode 123
  13. */
  14. function test_php_unit_no_expectation_annotation_32()
  15. {
  16. bbb();
  17. }
  18. }