@Test
 public void testCreateForwardingContext6() {
   // case #6 - L3Context present in DS
   DataBroker dataBroker = getDataBroker();
   ReadWriteTransaction rwTx = dataBroker.newReadWriteTransaction();
   l2BridgeDomainBuilder.setParent(l3ContextBuilder.build().getId());
   l2FloodDomainBuilder.setParent(l2BridgeDomainBuilder.build().getId());
   L2FloodDomain l2FloodDomain = l2FloodDomainBuilder.build();
   L2BridgeDomain l2BridgeDomain = l2BridgeDomainBuilder.build();
   L3Context l3Context = l3ContextBuilder.build();
   writeL2FloodDomain(tenantId, l2FloodDomain, rwTx);
   writeL2BridgeDomain(tenantId, l2BridgeDomain, rwTx);
   writeL3Context(tenantId, l3Context, rwTx);
   MappingUtils.ForwardingCtx forwardingCtx =
       MappingUtils.createForwardingContext(tenantId, l2FloodDomainBuilder.build().getId(), rwTx);
   assertNotNull(forwardingCtx);
   assertTrue(forwardingCtx.getL2FloodDomain().equals(l2FloodDomain));
   assertTrue(forwardingCtx.getL2BridgeDomain().equals(l2BridgeDomain));
   assertTrue(forwardingCtx.getL3Context().equals(l3Context));
 }
 @Before
 public void init() {
   l2FloodDomainBuilder = new L2FloodDomainBuilder();
   l2FloodDomainBuilder.setName(new Name("l2fdn")).setKey(new L2FloodDomainKey(l2FloodDomainId));
   l2BridgeDomainBuilder = new L2BridgeDomainBuilder();
   l2BridgeDomainBuilder
       .setName(new Name("l2bdn"))
       .setKey(new L2BridgeDomainKey(l2BridgeDomainId));
   l3ContextBuilder = new L3ContextBuilder();
   l3ContextBuilder.setName(new Name("l3cn")).setKey(new L3ContextKey(l3ContextId));
   Neutron_IPs neutronIp1 = new Neutron_IPs();
   Neutron_IPs neutronIp2 = new Neutron_IPs();
   Neutron_IPs neutronIp3 = new Neutron_IPs();
   neutronIp1.setIpAddress(ips[0]);
   neutronIp2.setIpAddress(ips[1]);
   neutronIp3.setIpAddress(ips[2]);
   emptyList = new ArrayList<>();
   singleIp = new ArrayList<>();
   singleIp.add(neutronIp1);
   multiIp = new ArrayList<>();
   multiIp.add(neutronIp1);
   multiIp.add(neutronIp2);
   multiIp.add(neutronIp3);
 }