ExampleTest.php 341 B

12345678910111213141516171819
  1. <?php
  2. class ExampleTest extends TestCase {
  3. /**
  4. * A basic functional test example.
  5. *
  6. * @return void
  7. */
  8. public function testBasicExample()
  9. {
  10. $crawler = $this->client->request('GET', '/');
  11. $this->assertTrue($this->client->getResponse()->isOk());
  12. $this->assertCount(1, $crawler->filter('h1:contains("Hello World!")'));
  13. }
  14. }