@PHPUnit32Migration-risky.test-out.php 464 B

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