public void testRemove() {
// Set up
RuleStack stack = new RuleStack();
stack.push(RuleConstants.ASSIGN_OUTPUT_ELEMENTS);
stack.push(RuleConstants.COLLAPSE_SOURCE);
stack.push(RuleConstants.ASSIGN_OUTPUT_ELEMENTS);
// Remove all instances of ASSIGN_OUTPUT_ELEMENTS
stack.remove(RuleConstants.ASSIGN_OUTPUT_ELEMENTS);
// Verify size and pop'ed values