--TEST-- SPL: Caching iterator getCache failure --CREDITS-- Lukasz Andrzejak meltir@meltir.com #testfest London 2009-05-09 --FILE-- getCache(); echo "Should have caused an exception"; } catch (BadMethodCallException $e) { echo "Exception raised\n"; } ?> --EXPECT-- Exception raised