### Question:
LinearRegression extends TalibIndicator { @Override protected RetCode talibCall(Integer startIdx, Integer endIdx, double[][] inReal, Number... indicatorParams) { RetCode rc = RetCode.Success; Integer period = (Integer) indicatorParams[0]; if (period == 0) { period = (endIdx-startIdx+1)*2/3; } rc = TalibCoreService.getCore().linearReg(startIdx, endIdx, inReal[0], period, outBegIdx, outNBElement, this.linearRegression); return rc; } LinearRegression();  LinearRegression(Integer period); @Override double[] getOutputData(); @Override Integer getStartShift(); @Override ValidityFilter quotationValidity();  }### Answer:
@Test public final void testTalibCall() { }