BUG 0000 Adjustment in te class classwsCreateUserResponseTest

- phpunit and phpcs tested in the class classwsCreateUserResponseTest
This commit is contained in:
Hector Cortez
2012-07-13 19:06:15 -04:00
parent 0d87c502ab
commit 1d440343bb

View File

@@ -1,4 +1,5 @@
<?php <?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.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.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
@@ -12,9 +13,9 @@ require_once PATH_TRUNK . 'workflow/engine/classes/class.wsResponse.php';
/** /**
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:31. * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:31.
*/ */
class classwsCreateUserResponseTest extends PHPUnit_Framework_TestCase class classwsCreateUserResponseTest extends PHPUnit_Framework_TestCase
{ {
/** /**
* @var wsCreateUserResponse * @var wsCreateUserResponse
*/ */
@@ -26,7 +27,7 @@ class classwsCreateUserResponseTest extends PHPUnit_Framework_TestCase
*/ */
protected function setUp() protected function setUp()
{ {
$this->object = new wsCreateUserResponse(); $this->object = new wsCreateUserResponse('status', 'message', 'groupUID');
} }
/** /**
@@ -35,6 +36,7 @@ class classwsCreateUserResponseTest extends PHPUnit_Framework_TestCase
*/ */
protected function tearDown() protected function tearDown()
{ {
} }
/** /**
@@ -43,7 +45,8 @@ class classwsCreateUserResponseTest extends PHPUnit_Framework_TestCase
*/ */
public function testNumberOfMethodsInThisClass() public function testNumberOfMethodsInThisClass()
{ {
$methods = get_class_methods('wsCreateUserResponse'); $this->assertTrue( count($methods) == 1); $methods = get_class_methods('wsCreateUserResponse');
$this->assertTrue(count($methods) == 1);
} }
/** /**
@@ -66,5 +69,5 @@ class classwsCreateUserResponseTest extends PHPUnit_Framework_TestCase
$this->assertTrue($params[2]->isArray() == false); $this->assertTrue($params[2]->isArray() == false);
$this->assertTrue($params[2]->isOptional() == false); $this->assertTrue($params[2]->isOptional() == false);
} }
} }