public function testChangeVersion()
 {
     $collection = new Collection('http://example.org/friends/');
     $collection->setVersion('2.0');
     $this->assertSame('{"collection":{"version":"2.0","href":"http:\\/\\/example.org\\/friends\\/"}}', (string) $collection);
 }