### Question:
NeutronOvsdbIidFactory { public static InstanceIdentifier<EndpointByPort> endpointByPortIid(UniqueId portId) { return InstanceIdentifier.builder(Mappings.class) .child(GbpByNeutronMappings.class) .child(EndpointsByPorts.class) .child(EndpointByPort.class, new EndpointByPortKey(portId)) .build(); }  static InstanceIdentifier<Topology> topologyIid(TopologyId ovsdbTopologyId); static InstanceIdentifier<OvsdbNodeAugmentation> ovsdbNodeAugmentationIid(TopologyId ovsdbTopologyId); static InstanceIdentifier<ExternalGatewayAsL3Endpoint> neutronGbpExternalGatewayIidWildcard(); static InstanceIdentifier<EndpointByPort> endpointByPortIid(UniqueId portId); static InstanceIdentifier<NeutronByGbpMappings> neutronGbpMappingsIidWildcard(); static InstanceIdentifier<Node> nodeIid(TopologyId ovsdbTopologyId, NodeId nodeId); @SuppressWarnings("checkstyle:LineLength") // Longer lines in this method are caused by long package names. static InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> nodeIid(
            org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId);  }### Answer:
@Test public void test_EndpointByPortIid() { String portId = UUID; InstanceIdentifier<EndpointByPort> iid = NeutronOvsdbIidFactory.endpointByPortIid(new UniqueId(portId)); assertNotNull(iid); Class<?>[] expectedTypes = {Mappings.class, GbpByNeutronMappings.class, EndpointsByPorts.class, EndpointByPort.class}; assertPathArgumentTypes(iid.getPathArguments(), expectedTypes); assertEquals(EndpointByPort.class, iid.getTargetType()); assertFalse(iid.isWildcarded()); assertEquals(portId, iid.firstKeyOf(EndpointByPort.class).getPortId().getValue()); }