public function testFindFileNameToCategoryToMessage() { $path = Zurmo::getPathOfAlias('application.core.tests.unit.modules'); $result = MessageUtil::findFileNameToCategoryToMessage($path, '', true); $this->assertContains('A message for test translation with no line break', $result[$path . '/TestModule.php']['Core']); $this->assertContains('A message for test translation with two line breaks', $result[$path . '/TestModule.php']['Core']); $this->assertContains('A message for test translation with many line breaks', $result[$path . '/TestModule.php']['Core']); }