final Set<DirectAccessInfo> directAccessSet = checkMethodListener
.getDirectAccessSet();
assertEquals("bad number of error", numberOfError,
directAccessSet.size());
for (int lineNumber : lineNumbers) {
final DirectAccessInfo key =
/**/new DirectAccessInfo(absoluteMethodName, null, lineNumber);// NOPMD
assertTrue("expected error " + key, directAccessSet.contains(key));
}
}