@Test
 public void testCreateForwardingContext1() {
   // case #1 - L2FloodDomain is not present in DS
   DataBroker dataBroker = getDataBroker();
   ReadWriteTransaction rwTx = dataBroker.newReadWriteTransaction();
   MappingUtils.ForwardingCtx forwardingCtx =
       MappingUtils.createForwardingContext(tenantId, l2FloodDomainBuilder.build().getId(), rwTx);
   assertNotNull(forwardingCtx);
   assertNull(forwardingCtx.getL2FloodDomain());
   assertNull(forwardingCtx.getL2BridgeDomain());
   assertNull(forwardingCtx.getL3Context());
 }
 @Test
 public void testCreateForwardingContext2() {
   // case #2 - L2FloodDomain is present in DS, but its parent is null
   DataBroker dataBroker = getDataBroker();
   ReadWriteTransaction rwTx = dataBroker.newReadWriteTransaction();
   l2FloodDomainBuilder.setParent(null);
   L2FloodDomain l2FloodDomain = l2FloodDomainBuilder.build();
   writeL2FloodDomain(tenantId, l2FloodDomain, rwTx);
   MappingUtils.ForwardingCtx forwardingCtx =
       MappingUtils.createForwardingContext(tenantId, l2FloodDomainBuilder.build().getId(), rwTx);
   assertNotNull(forwardingCtx);
   assertTrue(forwardingCtx.getL2FloodDomain().equals(l2FloodDomain));
   assertNull(forwardingCtx.getL2BridgeDomain());
   assertNull(forwardingCtx.getL3Context());
 }