Current File : //opt/RZphp73/includes/test/Services_GeoNames/tests/test_weathericao.phpt
--TEST--
Test for Services_GeoNames::weatherIcao() method.
--FILE--
<?php
require_once dirname(__FILE__) . '/setup.php';

$geo = Services_GeoNames_factory(substr(basename(__FILE__), 0, -4));
try {
    $ret = $geo->weatherIcao(array('ICAO' => 'LSZH'));
    print_r($ret);
} catch (Services_GeoNames_Exception $exc) {
    echo $exc->getMessage();
}
?>
--EXPECTF--
stdClass Object
(
    %s
)