<?php public function assertContainsString($needle, $haystack)
{
if (method_exists($this, 'assertStringContainsString')) {
$this->assertStringContainsString($needle, $haystack);
} else {
<?php public function assertMatchesRegExp($pattern, $string)
{
if (method_exists($this, 'assertMatchesRegularExpression')) {
$this->assertMatchesRegularExpression($pattern, $string);
} else {
<?php public function assertDoesNotMatchRegExp($pattern, $string)
{
if (method_exists($this, 'assertDoesNotMatchRegularExpression')) {
$this->assertDoesNotMatchRegularExpression($pattern, $string);
} else {