WebTestCase.php 881 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\HttpKernel\Test;
  11. use Symfony\Component\DomCrawler\Crawler;
  12. use Symfony\Component\HttpKernel\Client;
  13. /**
  14. * WebTestCase is the base class for functional tests.
  15. *
  16. * @author Fabien Potencier <fabien@symfony.com>
  17. */
  18. abstract class WebTestCase extends \PHPUnit_Framework_TestCase
  19. {
  20. /**
  21. * Creates a Client.
  22. *
  23. * @param array $options An array of options to pass to the createKernel class
  24. * @param array $server An array of server parameters
  25. *
  26. * @return Client A Client instance
  27. */
  28. abstract public function createClient(array $options = array(), array $server = array());
  29. }