assertAndLog("$('span');", jsStatement.$(null, "span").render());
jsStatement = new JsStatement();
final WebMarkupContainer component = new WebMarkupContainer("anId");
Panel panel = new DivTestPanel("panelId");
component.setMarkupId("anId");
panel.add(component);
tester.startComponentInPage(panel);
assertAndLog("$('#anId span');", jsStatement.$(component, "span").render());
}