public function testGetRequestsRemainingRequestsTimeWhenNoValueAvailable()
 {
     $this->connection->expects($this->exactly(2))->method('getHeader')->will($this->onConsecutiveCalls(false, '12345'));
     $this->connection->expects($this->once())->method('get')->with($this->basePath . '/time', false)->will($this->returnValue((object) array('time' => time())));
     $this->assertSame(12345, Client::getRequestsRemaining());
 }