summaryrefslogtreecommitdiff
path: root/plugins/identity_select/tests
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/identity_select/tests')
-rw-r--r--plugins/identity_select/tests/IdentitySelect.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/identity_select/tests/IdentitySelect.php b/plugins/identity_select/tests/IdentitySelect.php
new file mode 100644
index 000000000..461e79d85
--- /dev/null
+++ b/plugins/identity_select/tests/IdentitySelect.php
@@ -0,0 +1,22 @@
+<?php
+
+class IdentitySelect_Plugin extends PHPUnit_Framework_TestCase
+{
+
+ function setUp()
+ {
+ include_once __DIR__ . '/../identity_select.php';
+ }
+
+ /**
+ * Plugin object construction test
+ */
+ function test_constructor()
+ {
+ $rcube = rcube::get_instance();
+ $plugin = new identity_select($rcube->api);
+
+ $this->assertInstanceOf('identity_select', $plugin);
+ $this->assertInstanceOf('rcube_plugin', $plugin);
+ }
+}