public function testCanEditMetadata() { $this->setMockResponse($this->client, 'metadata_edit'); $response = $this->client->editMetadata('identifier', array('key' => 'value')); $this->assertSame(array('key' => 'value'), $response); }