@Test public void testStart() throws Exception { ospfAgent = EasyMock.createMock(OspfAgent.class); controller.start(ospfAgent, driverService); controller.updateConfig(ospfProcesses); assertThat(controller, is(notNullValue())); }
public void start(OspfAgent ag, DriverService driverService) { log.info("Starting OSPF controller...!!!"); this.agent = ag; this.driverService = driverService; this.init(); }
Controller { public void start(OspfAgent ag, DriverService driverService) { log.info("Starting OSPF controller...!!!"); this.agent = ag; this.driverService = driverService; this.init(); } }
Controller { public void start(OspfAgent ag, DriverService driverService) { log.info("Starting OSPF controller...!!!"); this.agent = ag; this.driverService = driverService; this.init(); }  }
Controller { public void start(OspfAgent ag, DriverService driverService) { log.info("Starting OSPF controller...!!!"); this.agent = ag; this.driverService = driverService; this.init(); }  void isisDeactivate(); void updateConfig(List<OspfProcess> ospfProcesses); List<OspfProcess> getAllConfiguredProcesses(); void addDeviceDetails(OspfRouter ospfRouter); void removeDeviceDetails(OspfRouter ospfRouter); void addLinkDetails(OspfRouter ospfRouter, OspfLinkTed ospfLinkTed); void removeLinkDetails(OspfRouter ospfRouter, OspfLinkTed ospfLinkTed); void init(); void start(OspfAgent ag, DriverService driverService); void stop(); void disconnectExecutor(); void connectPeer(); }
Controller { public void start(OspfAgent ag, DriverService driverService) { log.info("Starting OSPF controller...!!!"); this.agent = ag; this.driverService = driverService; this.init(); }  void isisDeactivate(); void updateConfig(List<OspfProcess> ospfProcesses); List<OspfProcess> getAllConfiguredProcesses(); void addDeviceDetails(OspfRouter ospfRouter); void removeDeviceDetails(OspfRouter ospfRouter); void addLinkDetails(OspfRouter ospfRouter, OspfLinkTed ospfLinkTed); void removeLinkDetails(OspfRouter ospfRouter, OspfLinkTed ospfLinkTed); void init(); void start(OspfAgent ag, DriverService driverService); void stop(); void disconnectExecutor(); void connectPeer();  }