ProxyServiceImpl extends AbstractService implements ProxyService { @Override public List<ProxyTbl> getActiveProxyTbls() { return proxyDao.getActiveProxyTbls(); }  @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);  }
@Test public void testGetActiveProxyTbls() { List<ProxyTbl> proxyTbls = service.getActiveProxyTbls(); for(ProxyTbl proto : proxyTbls) { Assert.assertTrue(proto.isActive()); } }