### Question:
Dhis2 implements LmisServer { public List<Indicator> fetchClientIndicators(User user) { List<IndicatorGroup> indicatorGroups = fetchIndicatorGroups(user); final List<String> indicatorStrings = DataElementType.getDataElementStrings(true); List<IndicatorGroup> clientIndicatorGroups = from(indicatorGroups).filter(new Predicate<IndicatorGroup>() { @Override public boolean apply(IndicatorGroup input) { return indicatorStrings.contains(input.getName().replace(" ", "_")); } }).toList(); return from(clientIndicatorGroups).transformAndConcat(new Function<IndicatorGroup, List<Indicator>>() { @Override public List<Indicator> apply(IndicatorGroup input) { return from(input.getIndicators()).filter(new Predicate<Indicator>() { @Override public boolean apply(Indicator input) { for (String s : indicatorStrings) { if (input.getName().contains(s)) { return true; } } return false; } }).toList(); } }).toList(); }  @Override UserProfile validateLogin(User user); void writeJson(User user); @Override List<Category> fetchCategories(User user); List<DataSet> fetchDataSets(User user); @Override List<String> fetchOrderReasons(User user); @Override List<OrderType> fetchOrderTypes(User user); @Override List<CommodityActionValue> fetchCommodityActionValues(User user); @Override List<CommodityActionValue> fetchIndicatorValues(User user, List<Commodity> commodities); @Override List<CommodityActionValue> fetchAllocations(User user); @Override DataValueSetPushResponse pushDataValueSet(DataValueSet valueSet, User user); @Override Integer fetchIntegerConstant(User user, String constantKey); @Override String fetchPhoneNumberConstant(User user, String constantKey, String defaultValue); @Override String fetchLatestVersion(); List<CommodityActionValue> convertDataValuesToCommodityActions(List<DataValue> values); List<CommodityActionValue> convertIndicatorValuesToCommodityActions(
            List<List<String>> values, List<CommodityAction> indicatorActions); @Override List<IndicatorGroup> fetchIndicatorGroups(User user); List<Indicator> fetchClientIndicators(User user); static final String SYNC; static final SimpleDateFormat SIMPLE_DATE_FORMAT; }### Answer:
@Test public void shouldFetchClientIndicators() throws Exception { setUpSuccessHttpGetRequest(200, "indicatorGroups.json"); List<Indicator> indicators = dhis2.fetchClientIndicators(new User()); assertThat(indicators.size(), is(66)); }