public function testGetServer() { $server = new ServerFactory(['source' => Mockery::mock('League\\Flysystem\\FilesystemInterface'), 'cache' => Mockery::mock('League\\Flysystem\\FilesystemInterface'), 'response' => Mockery::mock('League\\Glide\\Responses\\ResponseFactoryInterface')]); $this->assertInstanceOf('League\\Glide\\Server', $server->getServer()); }