|
|
@@ -763,6 +763,18 @@ class IntegrationTestCaseTest extends IntegrationTestCase
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * Test the content regexp assertion failing
|
|
|
+ *
|
|
|
+ * @expectedException \PHPUnit_Framework_AssertionFailedError
|
|
|
+ * @expectedExceptionMessage No response set
|
|
|
+ * @return void
|
|
|
+ */
|
|
|
+ public function testAssertResponseRegExpNoResponse()
|
|
|
+ {
|
|
|
+ $this->assertResponseRegExp('/cont/');
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
* Test the negated content regexp assertion.
|
|
|
*
|
|
|
* @return void
|
|
|
@@ -776,6 +788,18 @@ class IntegrationTestCaseTest extends IntegrationTestCase
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * Test negated content regexp assertion failing
|
|
|
+ *
|
|
|
+ * @expectedException \PHPUnit_Framework_AssertionFailedError
|
|
|
+ * @expectedExceptionMessage No response set
|
|
|
+ * @return void
|
|
|
+ */
|
|
|
+ public function testAssertResponseNotRegExpNoResponse()
|
|
|
+ {
|
|
|
+ $this->assertResponseNotRegExp('/cont/');
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
* Test that works in tandem with testEventManagerReset2 to
|
|
|
* test the EventManager reset.
|
|
|
*
|