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