### Question:
HankApiHelper { protected DomainGroupDeployStatus getDomainGroupDeployStatus(DomainGroup domainGroup) throws IOException { DomainGroupDeployStatus status = new DomainGroupDeployStatus(); status.domainGroupName = domainGroup.getName(); Map<String, DomainGroupDeployStatusForRingGroup> ringGroupsMap = new HashMap<String, DomainGroupDeployStatusForRingGroup>(); Set<RingGroup> ringGroups = coordinator.getRingGroupsForDomainGroup(domainGroup); for (RingGroup ringGroup : ringGroups) { ringGroupsMap.put(ringGroup.getName(), getDomainGroupDeployStatusForRingGroup(ringGroup)); } status.ringGroupsMap = ringGroupsMap; return status; } HankApiHelper(Coordinator coordinator); DomainData getDomainData(String domainName);  }### Answer:
@Test public void testGetDeployStatusForDomainGroup() throws Exception { HankApiHelper.DomainGroupDeployStatus status = helper.getDomainGroupDeployStatus(coordinator.getDomainGroup(ZkMockCoordinatorTestCase.DOMAIN_GROUP_0)); assertEquals(ZkMockCoordinatorTestCase.DOMAIN_GROUP_0, status.domainGroupName); assertEquals(2, status.ringGroupsMap.size()); }