public function StreamWrapperConfigurationTest::testFromConfig in AmazonS3 7.2
@covers Drupal\amazons3\StreamWrapperConfiguration::fromConfig @covers Drupal\amazons3\StreamWrapperConfiguration::defaults @covers Drupal\amazons3\StreamWrapperConfiguration::required
File
- tests/
StreamWrapperConfigurationTest.php, line 19
Class
- StreamWrapperConfigurationTest
- @class StreamWrapperConfigurationTest @package Drupal\amazons3Test
Namespace
Drupal\amazons3TestCode
public function testFromConfig() {
$settings = array(
'bucket' => 'bucket',
'region' => 'region',
);
$config = StreamWrapperConfiguration::fromConfig($settings);
$this
->assertInstanceOf('Drupal\\amazons3\\StreamWrapperConfiguration', $config);
}