您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

IdentitySelect.php 479B

12345678910111213141516171819202122
  1. <?php
  2. class IdentitySelect_Plugin extends PHPUnit_Framework_TestCase
  3. {
  4. function setUp()
  5. {
  6. include_once __DIR__ . '/../identity_select.php';
  7. }
  8. /**
  9. * Plugin object construction test
  10. */
  11. function test_constructor()
  12. {
  13. $rcube = rcube::get_instance();
  14. $plugin = new identity_select($rcube->api);
  15. $this->assertInstanceOf('identity_select', $plugin);
  16. $this->assertInstanceOf('rcube_plugin', $plugin);
  17. }
  18. }