### Question:
MonitorService extends BaseService { public Map<String,Object> queryMaster(User loginUser) { Map<String, Object> result = new HashMap<>(); List<Server> masterServers = getServerListFromZK(true); result.put(Constants.DATA_LIST, masterServers); putMsg(result,Status.SUCCESS); return result; }  Map<String,Object> queryDatabaseState(User loginUser); Map<String,Object> queryMaster(User loginUser); Map<String,Object> queryZookeeperState(User loginUser); Map<String,Object> queryWorker(User loginUser); List<Server> getServerListFromZK(boolean isMaster);  }### Answer:
@Test public void testQueryMaster(){ }