public function testClose()
 {
     $ftpConnection = Factory::getConnection(Factory::TYPE_FTP, Env::FTP_HOST, Env::FTP_USER, Env::FTP_PASS);
     $ftpConnection->close();
 }
 public function testWrongConnectionType()
 {
     $this->setExpectedException(InvalidArgumentException::class);
     Factory::getConnection('mysql', '', '', '');
 }