PhyConfigLoader { public void close() { physicalLinkHashMap.clear(); physicalPortHashMap.clear(); physicalNodeHashMap.clear(); externalNetworkMac.clear(); } PhyConfigLoader(DataBroker dataBroker); Table<PhysicalNodeId, PhysicalPortId, MacAddress> getExternalNetworkMac(); void close(); final static String NODE_PROPERTY; final static String LINK_PROPERTY; final static String EXTERNAL_NETWORK_MAC_PROPERTY; final static String HOST_PROPERTY; }
@Test public void testClose() throws Exception { phyConfigLoader.close(); }