assertTrue( in_array( 'zip_file', $methods ), 'seems like this function is outside this class' ); } } /** * @covers zip_file::create_zip * @todo Implement testcreate_zip(). */ public function testcreate_zip() { if (class_exists('zip_file')) { $methods = get_class_methods( 'zip_file'); $this->assertTrue( in_array( 'create_zip', $methods ), 'seems like this function is outside this class' ); } } }