public function testUsesSprintfArguments()
{
$this->translator->addTranslation('en', [$this->key => 'Dummy %s']);
$this->assertEquals('Dummy %s', $this->translator->translate($this->key));
$this->assertEquals('Dummy 1', $this->translator->translate($this->key, [1]));
$this->translator->addTranslation('en', [$this->key => 'Dummy %2$s %1$s']);
$this->assertEquals('Dummy 2 1', $this->translator->translate($this->key, [1, 2]));
}