38 lines
1.2 KiB
PHP
38 lines
1.2 KiB
PHP
<?php
|
|
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
|
|
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
|
|
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
|
|
require_once PATH_TRUNK . 'gulliver/system/class.pmException.php';
|
|
|
|
/**
|
|
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:56.
|
|
*/
|
|
|
|
class classPMExceptionTest extends PHPUnit_Framework_TestCase
|
|
{
|
|
/**
|
|
* @covers PMException::__construct
|
|
* @todo Implement test__construct().
|
|
*/
|
|
public function test__construct()
|
|
{
|
|
if (class_exists('PMException')) {
|
|
$methods = get_class_methods( 'PMException');
|
|
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @covers PMException::__toString
|
|
* @todo Implement test__toString().
|
|
*/
|
|
public function test__toString()
|
|
{
|
|
if (class_exists('PMException')) {
|
|
$methods = get_class_methods( 'PMException');
|
|
$this->assertTrue( in_array( '__toString', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
}
|