ManagerTest.php 410 B

1234567891011121314151617
  1. <?php
  2. namespace Illuminate\Tests\Integration\Support;
  3. use Illuminate\Tests\Integration\Support\Fixtures\NullableManager;
  4. use InvalidArgumentException;
  5. use Orchestra\Testbench\TestCase;
  6. class ManagerTest extends TestCase
  7. {
  8. public function testDefaultDriverCannotBeNull()
  9. {
  10. $this->expectException(InvalidArgumentException::class);
  11. (new NullableManager($this->app))->driver();
  12. }
  13. }