public function testGetStoreReturnsTheResultBodyDirectly() { $body = array(rand() => rand()); $this->connection->expects($this->once())->method('get')->with($this->basePath . '/store')->will($this->returnValue($body)); $this->assertSame($body, Client::getStore()); }