public function testGetNotes()
 {
     $message = new XliffMessage('foo');
     $this->assertEquals(array(), $message->getNotes());
     $this->assertSame($message, $message->addNote('foo'));
     $this->assertSame(array(array('text' => 'foo')), $message->getNotes());
     $this->assertSame($message, $message->addNote('bar', 'foo'));
     $this->assertSame(array(array('text' => 'foo'), array('text' => 'bar', 'from' => 'foo')), $message->getNotes());
     $this->assertSame($message, $message->setNotes($notes = array(array('text' => 'foo', 'from' => 'bar'))));
     $this->assertSame($notes, $message->getNotes());
 }