private function WebAssertTest::assertCorrectAssertion in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink/tests/WebAssertTest.php \Behat\Mink\Tests\WebAssertTest::assertCorrectAssertion()
41 calls to WebAssertTest::assertCorrectAssertion()
- WebAssertTest::testAddressEquals in vendor/
behat/ mink/ tests/ WebAssertTest.php - WebAssertTest::testAddressEqualsEmptyPath in vendor/
behat/ mink/ tests/ WebAssertTest.php - WebAssertTest::testAddressEqualsEndingInScript in vendor/
behat/ mink/ tests/ WebAssertTest.php - WebAssertTest::testAddressMatches in vendor/
behat/ mink/ tests/ WebAssertTest.php - WebAssertTest::testAddressNotEquals in vendor/
behat/ mink/ tests/ WebAssertTest.php
File
- vendor/
behat/ mink/ tests/ WebAssertTest.php, line 1274
Class
Namespace
Behat\Mink\TestsCode
private function assertCorrectAssertion($assertion, $arguments) {
try {
call_user_func_array(array(
$this->assert,
$assertion,
), $arguments);
} catch (ExpectationException $e) {
$this
->fail('Correct assertion should not throw an exception: ' . $e
->getMessage());
}
}