StellarServiceImpl implements StellarService { @Override public List<StellarFunctionDescription> getStellarFunctions() { List<StellarFunctionDescription> stellarFunctionDescriptions = new ArrayList<>(); Iterable<StellarFunctionInfo> stellarFunctionsInfo = StellarFunctions.FUNCTION_RESOLVER().getFunctionInfo(); stellarFunctionsInfo.forEach(stellarFunctionInfo -> { stellarFunctionDescriptions.add(new StellarFunctionDescription( stellarFunctionInfo.getName(), stellarFunctionInfo.getDescription(), stellarFunctionInfo.getParams(), stellarFunctionInfo.getReturns())); }); return stellarFunctionDescriptions; } @Autowired  StellarServiceImpl(CuratorFramework client); @Override Map<String, Boolean> validateRules(List<String> rules); @Override Map<String, Object> applyTransformations(SensorParserContext sensorParserContext); @Override FieldTransformations[] getTransformations(); @Override List<StellarFunctionDescription> getStellarFunctions(); @Override List<StellarFunctionDescription> getSimpleStellarFunctions();  }
@Test public void getStellarFunctionsShouldReturnFunctions() { assertTrue(stellarService.getStellarFunctions().size() > 0); }