public function testTransArgsTwo() { $app = $this->getApp(); $handler = new AdminHandler($app); $result = $handler->trans(['contenttypes.generic.delete', ['%contenttype%' => 'Page']], 2); $this->assertSame('Delete Page', $result); }