コード例 #1
0
ファイル: S3UrlTest.php プロジェクト: vuhoanglinh2002/drupal
 /**
  * @covers Drupal\amazons3\S3Url::getImageStyleUrl
  */
 public function testGetImageStyleUrl()
 {
     $url = new S3Url('bucket', 'key');
     $styleUrl = $url->getImageStyleUrl('style_name');
     $this->assertEquals($styleUrl->getKey(), "styles/style_name/key");
 }