$this->
testMessagesExtraction($node,
[[$message, TranslationNodeVisitor::UNDEFINED_DOMAIN
]]);
} public static function getMessagesExtractionTestData() { $message = 'new key';
$domain = 'domain';
return [ [TwigNodeProvider::
getTransFilter($message),
[[$message, null
]]],
[TwigNodeProvider::
getTransTag($message),
[[$message, null
]]],
[TwigNodeProvider::
getTransFilter($message,
$domain),
[[$message,
$domain]]],
[TwigNodeProvider::
getTransTag($message,
$domain),
[[$message,
$domain]]],
];
}}