@Test public void testDeleteConfig() throws Exception { ospfProcess = new OspfProcessImpl(); ospfArea = new OspfAreaImpl(); ospfInterface = new OspfInterfaceImpl(); ospfInterfaces = new ArrayList(); ospfInterface.setIpAddress(Ip4Address.valueOf("10.10.10.5")); ospfInterfaces.add(ospfInterface); ospfArea.setAreaId(Ip4Address.valueOf("2.2.2.2")); ospfArea.setOspfInterfaceList(ospfInterfaces); ospfProcess.setProcessId("10.10.10.10"); areas = new ArrayList(); areas.add(ospfArea); ospfProcess.setAreas(areas); ospfProcesses = new ArrayList(); ospfProcesses.add(ospfProcess); process1 = new OspfProcessImpl(); process1.setProcessId("11.11.11.11"); ospfArea1 = new OspfAreaImpl(); ospfArea1.setAreaId(Ip4Address.valueOf("2.2.2.2")); ospfArea1.setOspfInterfaceList(ospfInterfaces); areas.add(ospfArea1); process1.setAreas(areas); ospfProcesses.add(process1); ospfController.deleteConfig(ospfProcesses, "INTERFACE"); assertThat(ospfController, is(notNullValue())); }
@Override public void deleteConfig(List<OspfProcess> processes, String attribute) { }
OspfControllerImpl implements OspfController { @Override public void deleteConfig(List<OspfProcess> processes, String attribute) { } }
OspfControllerImpl implements OspfController { @Override public void deleteConfig(List<OspfProcess> processes, String attribute) { }  }
OspfControllerImpl implements OspfController { @Override public void deleteConfig(List<OspfProcess> processes, String attribute) { }  @Activate void activate(); @Deactivate void deactivate(); @Override void addRouterListener(OspfRouterListener listener); @Override void removeRouterListener(OspfRouterListener listener); @Override void addLinkListener(OspfLinkListener listener); @Override void removeLinkListener(OspfLinkListener listener); @Override Set<OspfRouterListener> listener(); @Override Set<OspfLinkListener> linkListener(); @Override List<OspfProcess> getAllConfiguredProcesses(); @Override void updateConfig(JsonNode processesNode); @Override void deleteConfig(List<OspfProcess> processes, String attribute); }
OspfControllerImpl implements OspfController { @Override public void deleteConfig(List<OspfProcess> processes, String attribute) { }  @Activate void activate(); @Deactivate void deactivate(); @Override void addRouterListener(OspfRouterListener listener); @Override void removeRouterListener(OspfRouterListener listener); @Override void addLinkListener(OspfLinkListener listener); @Override void removeLinkListener(OspfLinkListener listener); @Override Set<OspfRouterListener> listener(); @Override Set<OspfLinkListener> linkListener(); @Override List<OspfProcess> getAllConfiguredProcesses(); @Override void updateConfig(JsonNode processesNode); @Override void deleteConfig(List<OspfProcess> processes, String attribute);  }