### Question:
CaseManagementSafeDeleteNodeCommand extends SafeDeleteNodeCommand { @Override @SuppressWarnings("unchecked") protected CaseManagementRemoveChildCommand createRemoveChildCommand(final Element<?> parent, final Node<?, Edge> candidate) { return new CaseManagementRemoveChildCommand((Node<View<?>, Edge>) parent, (Node<View<?>, Edge>) candidate); } CaseManagementSafeDeleteNodeCommand(@MapsTo("candidateUUID") String candidateUUID,
                                               @MapsTo("options") Options options);  CaseManagementSafeDeleteNodeCommand(Node<?, Edge> node);  CaseManagementSafeDeleteNodeCommand(Node<?, Edge> node, Options options);  CaseManagementSafeDeleteNodeCommand(Node<?, Edge> node,
                                               SafeDeleteNodeCommandCallback safeDeleteCallback,
                                               Options options);   }### Answer:
@Test @SuppressWarnings("unchecked") public void testCreateRemoveChildCommand() { final CaseManagementRemoveChildCommand command = tested.createRemoveChildCommand(parent, candidate); assertEquals(parent, command.getParent()); assertEquals(candidate, command.getCandidate()); }