object = new pmPhing(); } /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. */ protected function tearDown() { } /** * This is the default method to test, if the class still having * the same number of methods. */ public function testNumberOfMethodsInThisClass() { $methods = get_class_methods('pmPhing'); $this->assertTrue( count($methods) == 35); } /** * @covers pmPhing::getPhingVersion * @todo Implement testgetPhingVersion(). */ public function testgetPhingVersion() { $methods = get_class_methods($this->object); $this->assertTrue( in_array('getPhingVersion', $methods ), 'exists method getPhingVersion' ); $r = new ReflectionMethod('pmPhing', 'getPhingVersion'); $params = $r->getParameters(); } }