public function TestClient::getAsset in Media: Acquia DAM 8
Get a test Asset given an Asset ID.
Parameters
int $assetId: The test Asset ID.
Return value
\cweagans\webdam\Entity\Asset The test asset.
File
- tests/
modules/ media_acquiadam_test/ src/ TestClient.php, line 78
Class
- TestClient
- Overridden implementation of the Acquia DAM client for testing.
Namespace
Drupal\media_acquiadam_testCode
public function getAsset($assetId) {
return $this->testAssets[$assetId];
}