4 * Ajatus - Distributed CRM
6 * Copyright (c) 2008 Jerry Jalava <jerry.jalava@gmail.com>
7 * Copyright (c) 2008 Nemein Oy <http://nemein.com>
8 * Website: http://ajatus.info
9 * Licensed under the GPL license
10 * http://www.gnu.org/licenses/gpl.html
14 require_once('testcase.php');
17 * Test to see if ajatus helpers work
19 class ajatus_tests_helpersTest
extends ajatus_tests_testcase
21 public function setUp()
23 if (AJATUS_TESTS_ENABLE_OUTPUT
)
25 echo __CLASS__
. "\n";
30 public function testHelpersExists()
32 if (AJATUS_TESTS_ENABLE_OUTPUT
)
34 echo __FUNCTION__
. "\n";
39 $this->assertTrue(isset($this->ajatus
->helpers
));
41 catch (ajatus_exception
$e)
43 $this->fail('An unexpected exception has been raised. ' . $e);