public function Framework_AssertTest::testAssertInternalType in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/tests/Framework/AssertTest.php \Framework_AssertTest::testAssertInternalType()
@covers PHPUnit_Framework_Assert::assertInternalType
File
- vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php, line 3967
Class
- Framework_AssertTest
- @since Class available since Release 2.0.0
Code
public function testAssertInternalType() {
$this
->assertInternalType('integer', 1);
try {
$this
->assertInternalType('string', 1);
} catch (PHPUnit_Framework_AssertionFailedError $e) {
return;
}
$this
->fail();
}