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