public function testMergeScanned()
 {
     $message = new Message('foo');
     $message->setLocaleString('foobar');
     $message->setNew(false);
     $message->addSource(new FileSource('foo/bar'));
     $scannedMessage = new Message('foo');
     $scannedMessage->setDesc('foobar');
     $message->mergeScanned($scannedMessage);
     $this->assertEquals('foobar', $message->getDesc());
     $this->assertEquals('foobar', $message->getLocaleString());
     $this->assertFalse($message->isNew());
     $this->assertEquals(array(), $message->getSources());
 }