}
private static void shouldRemoveChildIfPresent(final HelperExtended helper) {
helper.log("- shouldRemoveChildIfPresent");
final XMLPacket root = helper.createPacket("packet");
helper.assertFalse(root.removeChild(helper.createPacket("otherPacket")));
final XMLPacket child = root.addChild("child", null);
helper.assertEquals(1, root.getChildren().size());
helper.assertTrue(root.removeChild(child));
helper.assertEquals(0, root.getChildren().size());
helper.log("- test ends");