final nsIDOMNode text2 = context.mock(nsIDOMNode.class, "text2");
final nsIDOMNode text3 = context.mock(nsIDOMNode.class, "text3");
final nsIDOMNode strong = context.mock(nsIDOMNode.class, "strong");
final nsIDOMNode text4 = context.mock(nsIDOMNode.class, "text4");
final nsIDOMNodeList p_children = context.mock(nsIDOMNodeList.class, "p_children");
final nsIDOMNodeList em_children = context.mock(nsIDOMNodeList.class, "em_children");
final nsIDOMNodeList strong_children = context.mock(nsIDOMNodeList.class, "strong_children");
context.checking(new Expectations() { {
// p
this.oneOf(p).hasChildNodes();
this.will(returnValue(true));