12345678910111213141516171819 |
- <?php
- class ExampleTest extends TestCase {
- /**
- * A basic functional test example.
- *
- * @return void
- */
- public function testBasicExample()
- {
- $crawler = $this->client->request('GET', '/');
- $this->assertTrue($this->client->getResponse()->isOk());
- $this->assertCount(1, $crawler->filter('h1:contains("Hello World!")'));
- }
- }
|