Aleksander Machniak
2014-10-13 0ea079d604ef1f34cc47646ab23176a3c66f16ee
commit | author | age
b00592 1 <?php
AM 2
3 class HttpAuthentication_Plugin extends PHPUnit_Framework_TestCase
4 {
5
6     function setUp()
7     {
0ea079 8         include_once __DIR__ . '/../http_authentication.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 http_authentication($rcube->api);
18
19         $this->assertInstanceOf('http_authentication', $plugin);
20         $this->assertInstanceOf('rcube_plugin', $plugin);
21     }
22 }
23