* @throws IOException if an I/O error occurs
* @throws DSCException if a DSC error occurs
*/
protected void checkResourceComment(DSCParser parser, String comment, PSResource resource)
throws IOException, DSCException {
AbstractResourceDSCComment resComment;
resComment = (AbstractResourceDSCComment)gotoDSCComment(parser, comment);
assertEquals(resource, resComment.getResource());
}