commit | author | age | ||
b825f8 | 1 | <?php |
AM | 2 | |
3 | class IdentitySelect_Plugin extends PHPUnit_Framework_TestCase | |
4 | { | |
5 | ||
6 | function setUp() | |
7 | { | |
8 | include_once dirname(__FILE__) . '/../identity_select.php'; | |
9 | } | |
10 | ||
11 | /** | |
12 | * Plugin object construction test | |
13 | */ | |
14 | function test_constructor() | |
15 | { | |
16 | $rcube = rcube::get_instance(); | |
17 | $plugin = new identity_select($rcube->api); | |
18 | ||
19 | $this->assertInstanceOf('identity_select', $plugin); | |
20 | $this->assertInstanceOf('rcube_plugin', $plugin); | |
21 | } | |
22 | } |