You are here

public function TranslationMock::formatPluralTranslated in Plugin 8.2

File

tests/src/Unit/TranslationMock.php, line 41

Class

TranslationMock
Provides a mock implementation of \Drupal\Core\StringTranslation\TranslationInterface.

Namespace

Drupal\Tests\plugin\Unit

Code

public function formatPluralTranslated($count, $translation, array $args = array(), array $options = array()) {
  return new FormattableMarkup($translation, $args);
}