|
@@ 623-633 (lines=11) @@
|
| 620 |
|
Config::unnest(); |
| 621 |
|
} |
| 622 |
|
|
| 623 |
|
public static function assertContains( |
| 624 |
|
$needle, |
| 625 |
|
$haystack, |
| 626 |
|
$message = '', |
| 627 |
|
$ignoreCase = false, |
| 628 |
|
$checkForObjectIdentity = true, |
| 629 |
|
$checkForNonObjectIdentity = false |
| 630 |
|
) { |
| 631 |
|
if ($haystack instanceof DBField) { |
| 632 |
|
$haystack = (string)$haystack; |
| 633 |
|
} |
| 634 |
|
parent::assertContains($needle, $haystack, $message, $ignoreCase, $checkForObjectIdentity, $checkForNonObjectIdentity); |
| 635 |
|
} |
| 636 |
|
|
|
@@ 637-647 (lines=11) @@
|
| 634 |
|
parent::assertContains($needle, $haystack, $message, $ignoreCase, $checkForObjectIdentity, $checkForNonObjectIdentity); |
| 635 |
|
} |
| 636 |
|
|
| 637 |
|
public static function assertNotContains( |
| 638 |
|
$needle, |
| 639 |
|
$haystack, |
| 640 |
|
$message = '', |
| 641 |
|
$ignoreCase = false, |
| 642 |
|
$checkForObjectIdentity = true, |
| 643 |
|
$checkForNonObjectIdentity = false |
| 644 |
|
) { |
| 645 |
|
if ($haystack instanceof DBField) { |
| 646 |
|
$haystack = (string)$haystack; |
| 647 |
|
} |
| 648 |
|
parent::assertNotContains($needle, $haystack, $message, $ignoreCase, $checkForObjectIdentity, $checkForNonObjectIdentity); |
| 649 |
|
} |
| 650 |
|
|