TspIfElseExpansionElement tspIfElse = (TspIfElseExpansionElement) tspElem;
elementStream = processIfElseExpansion(sourceCase, elementStream, tspIfElse);
} else if(tspElem instanceof TspMetadataEndElement) {
processMetadataEndElem(sourceCase, (TspMetadataEndElement) tspElem);
} else if(tspElem instanceof TspCommandElement) {
TspCommandElement tspCommandElement = (TspCommandElement) tspElem;
assertTrue(tspCommandElement.name.equals(TspCommandElement.DISCARD_CASE));
return;
} else {
assertFail();
}