|
@@ 631-641 (lines=11) @@
|
| 628 |
|
Config::unnest(); |
| 629 |
|
} |
| 630 |
|
|
| 631 |
|
public static function assertContains( |
| 632 |
|
$needle, |
| 633 |
|
$haystack, |
| 634 |
|
$message = '', |
| 635 |
|
$ignoreCase = false, |
| 636 |
|
$checkForObjectIdentity = true, |
| 637 |
|
$checkForNonObjectIdentity = false |
| 638 |
|
) { |
| 639 |
|
if ($haystack instanceof DBField) { |
| 640 |
|
$haystack = (string)$haystack; |
| 641 |
|
} |
| 642 |
|
parent::assertContains($needle, $haystack, $message, $ignoreCase, $checkForObjectIdentity, $checkForNonObjectIdentity); |
| 643 |
|
} |
| 644 |
|
|
|
@@ 645-655 (lines=11) @@
|
| 642 |
|
parent::assertContains($needle, $haystack, $message, $ignoreCase, $checkForObjectIdentity, $checkForNonObjectIdentity); |
| 643 |
|
} |
| 644 |
|
|
| 645 |
|
public static function assertNotContains( |
| 646 |
|
$needle, |
| 647 |
|
$haystack, |
| 648 |
|
$message = '', |
| 649 |
|
$ignoreCase = false, |
| 650 |
|
$checkForObjectIdentity = true, |
| 651 |
|
$checkForNonObjectIdentity = false |
| 652 |
|
) { |
| 653 |
|
if ($haystack instanceof DBField) { |
| 654 |
|
$haystack = (string)$haystack; |
| 655 |
|
} |
| 656 |
|
parent::assertNotContains($needle, $haystack, $message, $ignoreCase, $checkForObjectIdentity, $checkForNonObjectIdentity); |
| 657 |
|
} |
| 658 |
|
|