diff options
Diffstat (limited to 'tests/Framework/SpellcheckEnchant.php')
-rw-r--r-- | tests/Framework/SpellcheckEnchant.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/Framework/SpellcheckEnchant.php b/tests/Framework/SpellcheckEnchant.php new file mode 100644 index 000000000..85393e76c --- /dev/null +++ b/tests/Framework/SpellcheckEnchant.php @@ -0,0 +1,21 @@ +<?php + +/** + * Test class to test rcube_spellcheck_enchant class + * + * @package Tests + */ +class Framework_SpellcheckEnchant extends PHPUnit_Framework_TestCase +{ + + /** + * Class constructor + */ + function test_class() + { + $object = new rcube_spellcheck_enchant(null, 'en'); + + $this->assertInstanceOf('rcube_spellcheck_enchant', $object, "Class constructor"); + $this->assertInstanceOf('rcube_spellcheck_engine', $object, "Class constructor"); + } +} |