/** * @covers Moneybird\ApiConnector::getCurrentSession */ public function testGetCurrentSession() { include './config.php'; $transport = getTransport($config); $mapper = new XmlMapper(); $this->object = new ApiConnector($config['clientname'], $transport, $mapper); $this->assertInstanceOf('Moneybird\\CurrentSession', $this->object->getCurrentSession()); }