public void match_methods_must_set_an_error()
{
var m = new StringMatcher( "A" );
CheckMatchError( m, () => m.MatchChar( 'B' ) );
int i;
CheckMatchError( m, () => m.MatchInt32( out i ) );
CheckMatchError( m, () => m.MatchText( "PP" ) );
CheckMatchError( m, () => m.MatchText( "B" ) );
CheckMatchError( m, () => m.MatchWhiteSpaces() );
}