classwsGetCaseNotesResponseTest.php instance fixed, code standard checked

This commit is contained in:
Julio Cesar Laura
2012-07-13 16:46:05 -04:00
parent 7b94d251be
commit c3b875cf21

View File

@@ -26,7 +26,7 @@ class classwsGetCaseNotesResponseTest extends PHPUnit_Framework_TestCase
*/ */
protected function setUp() protected function setUp()
{ {
$this->object = new wsGetCaseNotesResponse(); $this->object = new wsGetCaseNotesResponse(0, 'message', array());
} }
/** /**
@@ -43,7 +43,8 @@ class classwsGetCaseNotesResponseTest extends PHPUnit_Framework_TestCase
*/ */
public function testNumberOfMethodsInThisClass() public function testNumberOfMethodsInThisClass()
{ {
$methods = get_class_methods('wsGetCaseNotesResponse'); $this->assertTrue( count($methods) == 1); $methods = get_class_methods('wsGetCaseNotesResponse');
$this->assertTrue( count($methods) == 1);
} }
/** /**
@@ -66,5 +67,5 @@ class classwsGetCaseNotesResponseTest 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);
} }
} }