/**
  * @covers WikitextContentHandler::serializeContent
  */
 public function testSerializeContent()
 {
     $content = new WikitextContent('hello world');
     $this->assertEquals('hello world', $this->handler->serializeContent($content));
     $this->assertEquals('hello world', $this->handler->serializeContent($content, CONTENT_FORMAT_WIKITEXT));
     try {
         $this->handler->serializeContent($content, 'dummy/foo');
         $this->fail("serializeContent() should have failed on unknown format");
     } catch (MWException $e) {
         // ok, as expected
     }
 }