Files
roundcubemail/plugins/enigma/tests/EnigmaDriverGnupg.php
Aleksander Machniak 89e54718ca Migration to PHPUnit v9
2021-07-25 11:07:56 +02:00

23 lines
504 B
PHP

<?php
class Enigma_EnigmaDriverGnupg extends PHPUnit\Framework\TestCase
{
static function setUpBeforeClass(): void
{
include_once __DIR__ . '/../lib/enigma_driver.php';
include_once __DIR__ . '/../lib/enigma_driver_gnupg.php';
}
/**
* Test constructor
*/
function test_constructor()
{
$rcube = rcube::get_instance();
$plugin = new enigma_driver_gnupg($rcube->user);
$this->assertInstanceOf('enigma_driver', $plugin);
}
}