### Question:
L2L3IidFactory { public static InstanceIdentifier<ForwardingContext> l3ContextIid(TenantId tenantId, ContextId id) { ForwardingContextKey domainKey = new ForwardingContextKey(id, L3Context.class); return IidFactory.forwardingByTenantIid(tenantId).child(ForwardingContext.class, domainKey); }  static InstanceIdentifier<NetworkDomain> subnetIid(TenantId tenantId, NetworkDomainId id); static InstanceIdentifier<ForwardingContext> l2FloodDomainIid(TenantId tenantId, ContextId id); static InstanceIdentifier<ForwardingContext> l2BridgeDomainIid(TenantId tenantId, ContextId id); static InstanceIdentifier<ForwardingContext> l3ContextIid(TenantId tenantId, ContextId id);  }### Answer:
@Test public void testL3ContextIid() { InstanceIdentifier<ForwardingContext> identifier = L2L3IidFactory.l3ContextIid(TENANT_ID, CONTEXT_ID); Assert.assertEquals(CONTEXT_ID, InstanceIdentifier.keyOf(identifier).getContextId()); Assert.assertEquals(TENANT_ID, identifier.firstKeyOf(ForwardingByTenant.class).getTenantId()); }