public function testCanFetchMetadata() { $this->setMockResponse($this->client, 'metadata_get'); $response = $this->client->getMetadata('identifier'); $this->assertSame(array('some' => 'metadata'), $response); }