public function testGetApi() { $server = new ApiFactory(); $this->assertInstanceOf('League\\Glide\\Api\\Api', $server->getApi()); }