### Question:
IovisorIidFactory { public static InstanceIdentifier<IovisorModuleInstance> iovisorModuleInstanceIid( IovisorModuleInstanceKey iovisorModuleInstanceKey) { return IOVISOR_MODULE_INSTANCES_IID.child(IovisorModuleInstance.class, iovisorModuleInstanceKey); } private  IovisorIidFactory(); static InstanceIdentifier<IovisorModuleInstances> iovisorModuleInstanceWildCardIid(); static InstanceIdentifier<IovisorModuleInstance> iovisorModuleInstanceIid(
            IovisorModuleInstanceKey iovisorModuleInstanceKey); static InstanceIdentifier<IovisorResolvedEndpoints> iovisorResolvedEndpointWildcardIid(); static InstanceIdentifier<IovisorResolvedEndpoint> iovisorResolvedEndpointIid(L3ContextId l3Context,
            IpAddress ipAddress); static InstanceIdentifier<IovisorResolvedEndpoint> iovisorResolvedEndpointIid(
            IovisorResolvedEndpointKey iovisorResolvedEndpointKey); static InstanceIdentifier<IovisorResolvedEndpointsByTenantByEndpointgroupId> iovisorResolvedEndpointsByTenantIdByEndpointGroupIdWildCardIid(); static InstanceIdentifier<IovisorResolvedEndpointByTenantByEndpointgroupId> iovisorResolvedEndpointByTenantIdByEndpointGroupIdIid(
            TenantId tenantId, EndpointGroupId epgId); static InstanceIdentifier<IovisorResolvedEndpointByTenantByEndpointgroupId> iovisorResolvedEndpointByTenantIdByEndpointGroupIdIid(
            IovisorResolvedEndpointByTenantByEndpointgroupIdKey key); static InstanceIdentifier<IovisorModulesByTenantByEndpointgroupId> iovisorModulesByTenantIdByEndpointGroupIdWildCardIid(); static InstanceIdentifier<IovisorModuleByTenantByEndpointgroupId> iovisorModuleByTenantIdByEndpointGroupIdIid(
            TenantId tenantId, EndpointGroupId epgId); static InstanceIdentifier<IovisorModuleByTenantByEndpointgroupId> iovisorModuleByTenantIdByEndpointGroupIdIid(
            IovisorModuleByTenantByEndpointgroupIdKey key);  }### Answer:
@Test public void iovisorModuleInstanceIidTest() { IovisorModuleInstanceKey iovisorModuleInstanceKey = mock(IovisorModuleInstanceKey.class); InstanceIdentifier<IovisorModuleInstance> identifier = IovisorIidFactory.iovisorModuleInstanceIid(iovisorModuleInstanceKey); Assert.assertEquals(iovisorModuleInstanceKey, identifier.firstKeyOf(IovisorModuleInstance.class)); }