### Question:
HankApiHelper { protected DomainDeployStatus getDomainDeployStatus(Domain domain) throws IOException { DomainDeployStatus status = new DomainDeployStatus(); status.domainName = domain.getName(); Map<String, DomainDeployStatusForRingGroup> ringGroupsMap = new HashMap<String, DomainDeployStatusForRingGroup>(); for (RingGroup ringGroup : coordinator.getRingGroups()) { DomainGroup domainGroup = ringGroup.getDomainGroup(); if (domainGroup != null && domainGroup.getDomainVersion(domain) != null) { ringGroupsMap.put(ringGroup.getName(), getDomainDeployStatusForRingGroup(domainGroup, domain, ringGroup)); } } status.ringGroupsMap = ringGroupsMap; return status; } HankApiHelper(Coordinator coordinator); DomainData getDomainData(String domainName);  }### Answer:
@Test public void testGetDeployStatusForDomain() throws Exception { HankApiHelper.DomainDeployStatus status = helper.getDomainDeployStatus(coordinator.getDomain(ZkMockCoordinatorTestCase.DOMAIN_0)); assertEquals(ZkMockCoordinatorTestCase.DOMAIN_0, status.domainName); }