1--TEST-- 2Games_Chess->_parseFen() invalid #1 3--SKIPIF-- 4--FILE-- 5<?php 6require_once dirname(__FILE__) . '/setup.php.inc'; 7$board->_parseFen('hello'); 8$phpunit->assertErrors(array( 9 array('package' => 'PEAR_Error', 'message' => 'Invalid FEN - "hello" has 1 fields, 6 is required'), 10), 1); 11echo 'tests done'; 12?> 13--EXPECT-- 14tests done