}
@Test
public void resolveComponent_Previous() {
UIComponent root = new UIPanel();
root.setId("root");
UIComponent command1 = new UICommand();
command1.setId("command1");
root.getChildren().add(command1);
UIComponent command2 = new UICommand();
command2.setId("command2");
root.getChildren().add(command2);
UIComponent command3 = new UICommand();
command3.setId("command3");
root.getChildren().add(command3);
assertSame("Failed", command1, resolveComponent(command2, " @previous "));
assertSame("Failed", command2, resolveComponent(command3, " @previous "));
try {