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