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