/** * @covers Moneybird\ApiConnector::requestsLeft */ public function testRequestsLeft() { include './config.php'; $transport = getTransport($config); $mapper = new XmlMapper(); try { $this->object = new ApiConnector($config['clientname'], $transport, $mapper); $this->assertGreaterThan(0, $this->object->requestsLeft()); } catch (ForBiddenException $e) { } }