### Question:
Node2ContainerMap extends Node2ObjectsMap<ContainerID> { @VisibleForTesting @Override public int size() { return dn2ObjectMap.size(); } Node2ContainerMap(); Set<ContainerID> getContainers(UUID datanode); @Override void insertNewDatanode(UUID datanodeID, Set<ContainerID> containerIDs); void setContainersForDatanode(UUID datanodeID,
      Set<ContainerID> containers); @VisibleForTesting @Override int size();  }### Answer:
@Test public void testProcessReportDetectNewDataNode() throws SCMException { Node2ContainerMap map = new Node2ContainerMap(); UUID key = getFirstKey(); TreeSet<ContainerID> values = testData.get(key); ReportResult result = map.processReport(key, values); Assert.assertEquals(ReportResult.ReportStatus.NEW_DATANODE_FOUND, result.getStatus()); Assert.assertEquals(result.getNewEntries().size(), values.size()); }