public function MessageCatalogueTest::testMetadataDelete in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/translation/Tests/MessageCatalogueTest.php \Symfony\Component\Translation\Tests\MessageCatalogueTest::testMetadataDelete()
File
- vendor/
symfony/ translation/ Tests/ MessageCatalogueTest.php, line 176
Class
Namespace
Symfony\Component\Translation\TestsCode
public function testMetadataDelete() {
$catalogue = new MessageCatalogue('en');
$this
->assertEquals(array(), $catalogue
->getMetadata('', ''), 'Metadata is empty');
$catalogue
->deleteMetadata('key', 'messages');
$catalogue
->deleteMetadata('', 'messages');
$catalogue
->deleteMetadata();
}