public function ApigeeEdgeManagementCliServiceTest::mockDt in Apigee Edge 8
Mock translation method.
Parameters
string $message: The message to return.
array $context: The context of vars to replace.
Return value
string The message with context.
File
- tests/
src/ Unit/ Command/ Util/ ApigeeEdgeManagementCliServiceTest.php, line 512
Class
- ApigeeEdgeManagementCliServiceTest
- Test ApigeeEdgeManagementCliService.
Namespace
Drupal\Tests\apigee_edge\Unit\Command\UtilCode
public function mockDt(string $message, array $context = []) : string {
// Do the same thing as Drush dt().
return StringUtils::interpolate($message, $context);
}