public function HttpMimeTypeGuesserTest::setUp in Remote Stream Wrapper 8
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ HttpMimeTypeGuesserTest.php, line 34
Class
- HttpMimeTypeGuesserTest
- @coversDefaultClass \Drupal\remote_stream_wrapper\File\MimeType\HttpMimeTypeGuesser @group remote_stream_wrapper
Namespace
Drupal\Tests\remote_stream_wrapper\KernelCode
public function setUp() {
parent::setUp();
$this->guesser = $this->container
->get('file.mime_type.guesser');
$this->httpGuesser = $this->container
->get('file.mime_type.guesser.http');
}