public function testCanReplaceMetadata() { $this->setMockResponse($this->client, 'metadata_replace'); $response = $this->client->replaceMetadata('identifier', array('key' => 'othervalue')); $this->assertSame(array('key' => 'othervalue'), $response); }