mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-02-20 01:21:20 +01:00
24 lines
527 B
PHP
24 lines
527 B
PHP
<?php
|
|
|
|
namespace Roundcube\Tests\Framework;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
/**
|
|
* Test class to test rcube_addresses class
|
|
*/
|
|
class AddressesTest extends TestCase
|
|
{
|
|
/**
|
|
* Class constructor
|
|
*/
|
|
public function test_class()
|
|
{
|
|
$db = new \rcube_db('test');
|
|
$object = new \rcube_addresses($db, null, 1);
|
|
|
|
$this->assertInstanceOf(\rcube_addresses::class, $object, 'Class constructor');
|
|
$this->assertInstanceOf(\rcube_addressbook::class, $object, 'Class constructor');
|
|
}
|
|
}
|