1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
<?php
namespace Roundcube\Tests\Framework;
use PHPUnit\Framework\TestCase;
/**
* Test class to test rcube_addresses class
*/
class Framework_Addresses extends TestCase
{
/**
* Class constructor
*/
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");
}
}
|