You are here

public function MessageCatalogueTest::testMetadataDelete in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/Tests/MessageCatalogueTest.php \Symfony\Component\Translation\Tests\MessageCatalogueTest::testMetadataDelete()

File

vendor/symfony/translation/Tests/MessageCatalogueTest.php, line 176

Class

MessageCatalogueTest

Namespace

Symfony\Component\Translation\Tests

Code

public function testMetadataDelete() {
  $catalogue = new MessageCatalogue('en');
  $this
    ->assertEquals(array(), $catalogue
    ->getMetadata('', ''), 'Metadata is empty');
  $catalogue
    ->deleteMetadata('key', 'messages');
  $catalogue
    ->deleteMetadata('', 'messages');
  $catalogue
    ->deleteMetadata();
}