} catch (ParseException expected) {
}
}
public void testMatches() throws ParseException {
ParserUtils parser = new ParserUtils("assign"); //$NON-NLS-1$
assertEquals(true, parser.matches('a', true));
parser = new ParserUtils("assign"); //$NON-NLS-1$
assertEquals(false, parser.matches('b', true));
parser = new ParserUtils(""); //$NON-NLS-1$
try {
parser.matches('a', true);
fail("ParseException expected"); //$NON-NLS-1$
} catch (ParseException expected) {
}
}