### Question:
InfrastructureManager implements ServiceInfrastructure { @Override public void addChildDSR(String identifier) throws EmptyIdentifierFailureException, NullPointerFailureException { if (identifier == null) throw new NullPointerFailureException(); if (identifier.isEmpty()) throw new EmptyIdentifierFailureException(); logger.debug("Not implemented yet."); } InfrastructureManager(); @Override void setParentsRoute(List<String> identifiers); @Override List<String> getParentsRoute(); @Override List<String> getChildDSRs(); @Override void addChildDSR(String identifier); @Override void setParent(String identifier); @Override String getParent(); void handleRegistration(List<String> identifiers); void handleUpdate(List<String> identifiers); void handleDelete(String identifier); boolean dbSynchronization(List<String> ids, Method method,
			int responsestatus);  }### Answer:
@Test public void testAddChildDSR() { try { manager.addChildDSR(null); } catch (EmptyIdentifierFailureException e) { fail("Input was a NULL pointer and we catch EmptyIdentifierFailureException exception."); } catch (NullPointerFailureException e) { assertTrue("Detecting NullPointerFailureException exception.",true); } try { manager.addChildDSR(""); } catch (EmptyIdentifierFailureException e) { assertTrue("Detecting EmptyIdentifierFailureException exception.",true); } catch (NullPointerFailureException e) { fail("Child collection was emtpy and we catch NullPointerFailureException exception."); } try { manager.addChildDSR("test_child1"); manager.addChildDSR("test_child1"); } catch (EmptyIdentifierFailureException e) { fail("The input identifier is not empty but we catch EmptyIdentifierFailureException exception."); } catch (NullPointerFailureException e) { fail("The input identifier is not empty but we catch NullPointerFailureException exception."); } try { manager.addChildDSR("test_child2"); manager.addChildDSR("test_child3"); } catch (EmptyIdentifierFailureException e) { fail("Every input identifier was not empty."); }catch (NullPointerFailureException e) { fail("Detecting NullPointerFailureException exception."); } List<String> childs = new ArrayList<String>(); childs.add("test_child1"); childs.add("test_child2"); childs.add("test_child3"); }