Skip to content

Commit

Permalink
Basic test case
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Jan 2, 2015
1 parent fca897f commit 3d6dc38
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/TestCase/TestSuite/IntegrationTestCaseTest.php
Expand Up @@ -248,6 +248,19 @@ public function testAssertResponseContains()
$this->assertResponseContains('content');
}

/**
* Test the negated content assertion.
*
* @return void
*/
public function testAssertResponseNotContains()
{
$this->_response = new Response();
$this->_response->body('Some content');

$this->assertResponseNotContains('contents');
}

/**
* Test that works in tandem with testEventManagerReset2 to
* test the EventManager reset.
Expand Down

0 comments on commit 3d6dc38

Please sign in to comment.