Test exportation of translation template file.
function testExportTranslationTemplateFile() {
// Get the translation template file.
// There are two 'Export' buttons on this page, but it somehow works. It'd
// be better if we could use the submit button id like documented but that
// doesn't work.
$this
->drupalPost('admin/config/regional/translate/export', array(), t('Export'));
// Ensure we have a translation file.
$this
->assertRaw('# LANGUAGE translation of PROJECT', 'Exported translation template file.');
}