### Question:
NetworkAware implements MappingProvider<Network> { @Override public void processDeletedNeutronDto(Network network) { InstanceIdentifier<GbpBridgeDomain> bdIid = getGbpBridgeDomainIid(network.getUuid().getValue()); ReadWriteTransaction rwTx = dataBroker.newReadWriteTransaction(); deleteBridgeDomainIfPresent(rwTx, bdIid); DataStoreHelper.submitToDs(rwTx); } NetworkAware(DataBroker dataBroker); @Override InstanceIdentifier<Network> getNeutronDtoIid(); @Override void processCreatedNeutronDto(Network network); static Class<? extends NetworkTypeBase> convertNetworkType(
            Class<? extends org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.networks.rev150712.NetworkTypeBase> base); @Override void processUpdatedNeutronDto(Network originalNetwork, Network updatedNetwork); @Override void processDeletedNeutronDto(Network network);  }### Answer:
@Test public void testProcessDeletedNeutronDto() { netExtBuilder.setNetworkType(NetworkTypeFlat.class); Network network = createTestNetwork("net1", netExtBuilder.build()); networkAware.processDeletedNeutronDto(network); ReadOnlyTransaction rTx = dataBroker.newReadOnlyTransaction(); Optional<GbpBridgeDomain> optBrDomain = DataStoreHelper.readFromDs(LogicalDatastoreType.CONFIGURATION, networkAware.getGbpBridgeDomainIid(network.getUuid().getValue()), rTx); assertFalse(optBrDomain.isPresent()); }