You are here

public function MessageCatalogueTest::testMetadataDelete in Plug 7

File

lib/Symfony/translation/Tests/MessageCatalogueTest.php, line 162

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();
}