@Test public void testDeleteProxy() { service.deleteProxy(proxy1.getId()); Assert.assertEquals(Lists.newArrayList(proxy2), service.getAllProxies()); }
@Override public void deleteProxy(long id) { proxyDao.delete(id); }
ProxyServiceImpl extends AbstractService implements ProxyService { @Override public void deleteProxy(long id) { proxyDao.delete(id); } }
ProxyServiceImpl extends AbstractService implements ProxyService { @Override public void deleteProxy(long id) { proxyDao.delete(id); }  }
ProxyServiceImpl extends AbstractService implements ProxyService { @Override public void deleteProxy(long id) { proxyDao.delete(id); }  @Override List<ProxyModel> getActiveProxies(); @Override List<ProxyModel> getAllProxies(); @Override List<ProxyModel> getMonitorActiveProxies(); @Override void updateProxy(ProxyModel model); @Override void deleteProxy(long id); @Override void addProxy(ProxyModel model); @Override List<ProxyTbl> getActiveProxyTbls(); @Override ProxyChain getProxyChain(String backupDcId, String clusterId, String shardId); @Override ProxyChain getProxyChain(String tunnelId); @Override List<TunnelInfo> getProxyTunnels(String dcId, String ip); @Override List<ProxyChain> getProxyChains(String backupDcId, String clusterId); @Override List<ProxyPingStatsModel> getProxyMonitorCollectors(String dcName); @Override List<ProxyInfoModel> getAllProxyInfo(); @Override RetMessage deleteProxyChain(List<HostPort> proxies); }
ProxyServiceImpl extends AbstractService implements ProxyService { @Override public void deleteProxy(long id) { proxyDao.delete(id); }  @Override List<ProxyModel> getActiveProxies(); @Override List<ProxyModel> getAllProxies(); @Override List<ProxyModel> getMonitorActiveProxies(); @Override void updateProxy(ProxyModel model); @Override void deleteProxy(long id); @Override void addProxy(ProxyModel model); @Override List<ProxyTbl> getActiveProxyTbls(); @Override ProxyChain getProxyChain(String backupDcId, String clusterId, String shardId); @Override ProxyChain getProxyChain(String tunnelId); @Override List<TunnelInfo> getProxyTunnels(String dcId, String ip); @Override List<ProxyChain> getProxyChains(String backupDcId, String clusterId); @Override List<ProxyPingStatsModel> getProxyMonitorCollectors(String dcName); @Override List<ProxyInfoModel> getAllProxyInfo(); @Override RetMessage deleteProxyChain(List<HostPort> proxies);  }