function testMultipleLink()
 {
     $message = new CommitMessage("Hello\nworld\n");
     $message->addLinkNote('http://example.com', 'Example');
     $message->addLinkNote('http://example.org', 'Example For Good');
     $message->addLinkNote('http://example.com', 'Example Redundant');
     $this->assertEquals("Hello\nworld\n\n----------------------------------------\n* Example\n  http://example.com\n* Example For Good\n  http://example.org\n", $message->toString());
 }