assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); } } /** * @covers wsResponse::getPayloadString * @todo Implement testgetPayloadString(). */ public function testgetPayloadString() { if (class_exists('wsResponse')) { $methods = get_class_methods( 'wsResponse'); $this->assertTrue( in_array( 'getPayloadString', $methods ), 'seems like this function is outside this class' ); } } /** * @covers wsResponse::getPayloadArray * @todo Implement testgetPayloadArray(). */ public function testgetPayloadArray() { if (class_exists('wsResponse')) { $methods = get_class_methods( 'wsResponse'); $this->assertTrue( in_array( 'getPayloadArray', $methods ), 'seems like this function is outside this class' ); } } }