|
@@ 537-547 (lines=11) @@
|
| 534 |
|
Config::unnest(); |
| 535 |
|
} |
| 536 |
|
|
| 537 |
|
public static function assertContains( |
| 538 |
|
$needle, |
| 539 |
|
$haystack, |
| 540 |
|
$message = '', |
| 541 |
|
$ignoreCase = FALSE, |
| 542 |
|
$checkForObjectIdentity = TRUE, |
| 543 |
|
$checkForNonObjectIdentity = false |
| 544 |
|
) { |
| 545 |
|
if ($haystack instanceof DBField) $haystack = (string)$haystack; |
| 546 |
|
parent::assertContains($needle, $haystack, $message, $ignoreCase, $checkForObjectIdentity, $checkForNonObjectIdentity); |
| 547 |
|
} |
| 548 |
|
|
| 549 |
|
public static function assertNotContains( |
| 550 |
|
$needle, |
|
@@ 549-559 (lines=11) @@
|
| 546 |
|
parent::assertContains($needle, $haystack, $message, $ignoreCase, $checkForObjectIdentity, $checkForNonObjectIdentity); |
| 547 |
|
} |
| 548 |
|
|
| 549 |
|
public static function assertNotContains( |
| 550 |
|
$needle, |
| 551 |
|
$haystack, |
| 552 |
|
$message = '', |
| 553 |
|
$ignoreCase = FALSE, |
| 554 |
|
$checkForObjectIdentity = TRUE, |
| 555 |
|
$checkForNonObjectIdentity = false |
| 556 |
|
) { |
| 557 |
|
if ($haystack instanceof DBField) $haystack = (string)$haystack; |
| 558 |
|
parent::assertNotContains($needle, $haystack, $message, $ignoreCase, $checkForObjectIdentity, $checkForNonObjectIdentity); |
| 559 |
|
} |
| 560 |
|
|
| 561 |
|
/** |
| 562 |
|
* Clear the log of emails sent |