diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-08-27 09:28:16 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-08-27 09:28:16 +0200 |
commit | 5f8adabb6286fdcb0ff8a0ea5d1d58f40eef51f4 (patch) | |
tree | 8e6997e584950115850bf698943f1828fb9b9811 /tests/Framework/User.php | |
parent | 9b05f19338e209f05386e5b13fe0a704c94062bb (diff) |
Add simple (constructor) tests for Framework classes
Diffstat (limited to 'tests/Framework/User.php')
-rw-r--r-- | tests/Framework/User.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/Framework/User.php b/tests/Framework/User.php new file mode 100644 index 000000000..3b1983c58 --- /dev/null +++ b/tests/Framework/User.php @@ -0,0 +1,20 @@ +<?php + +/** + * Test class to test rcube_user class + * + * @package Tests + */ +class Framework_User extends PHPUnit_Framework_TestCase +{ + + /** + * Class constructor + */ + function test_class() + { + $user = new rcube_user; + + $this->assertInstanceOf('rcube_user', $user, "Class constructor"); + } +} |