UnavailableDriverTest.php 615 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /*
  3. * This file is part of the Stash package.
  4. *
  5. * (c) Robert Hafner <tedivm@tedivm.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 Stash\Test\Driver;
  11. use Stash\Test\Stubs\DriverUnavailableStub;
  12. /**
  13. * @package Stash
  14. * @author Robert Hafner <tedivm@tedivm.com>
  15. */
  16. class UnavailableDriverTest extends \PHPUnit_Framework_TestCase
  17. {
  18. /**
  19. * @expectedException Stash\Exception\RuntimeException
  20. */
  21. public function testUnavailableDriver()
  22. {
  23. new DriverUnavailableStub();
  24. }
  25. }