diff options
Diffstat (limited to 'plugins/markasjunk')
-rw-r--r-- | plugins/markasjunk/tests/Markasjunk.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/markasjunk/tests/Markasjunk.php b/plugins/markasjunk/tests/Markasjunk.php new file mode 100644 index 000000000..cdf13255e --- /dev/null +++ b/plugins/markasjunk/tests/Markasjunk.php @@ -0,0 +1,23 @@ +<?php + +class Markasjunk_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once dirname(__FILE__) . '/../markasjunk.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new markasjunk($rcube->api); + + $this->assertInstanceOf('markasjunk', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + |