// This testing program stub creates a queue of HTML tags // in a valid sequence. // You may use this as a starting point for testing // your removeAll method. import java.util.*; public class HtmlValidatorTest { public static void main(String[] args) { // Hi
Queue tags = new LinkedList(); tags.add(new HtmlTag("b", true)); // tags.add(new HtmlTag("b", false)); // tags.add(new HtmlTag("br")); //
HtmlValidator validator = new HtmlValidator(tags); } }