}
protected void removeErrorElement(DubBundleChecker expMainBundle, LinkedList<IDubElement> depChildren) {
if(expMainBundle.errorMsgStart != null) {
assertTrue(depChildren.size() > 0);
IDubElement removed = depChildren.remove(0);
DubErrorElement dubErrorElement = assertCast(removed, DubErrorElement.class);
assertTrue(dubErrorElement.errorDescription.startsWith(expMainBundle.errorMsgStart));
}
}