public function PresignedPathTest::testGetters in AmazonS3 7.2
Test getters and setters on PresignedPaths.
@covers Drupal\amazons3\Matchable\PresignedPath::__construct @covers Drupal\amazons3\Matchable\PresignedPath::getPath @covers Drupal\amazons3\Matchable\PresignedPath::getTimeout
File
- tests/
Matchable/ PresignedPathTest.php, line 35
Class
- PresignedPathTest
- @class PresignedPathTest @package Drupal\amazons3Test\Matchable
Namespace
Drupal\amazons3Test\MatchableCode
public function testGetters() {
$p = new PresignedPath('images/.*', 30);
$this
->assertEquals('images/.*', $p
->getPath());
$this
->assertEquals(30, $p
->getTimeout());
}