Constructor
new module:caplin/chart/testing/ChartServiceStub()
A stub service for the
module:caplin/chart/service/StreamLinkChartService
service.
Methods
-
discard()
-
reset()
-
Allow tests to reinitialize the stub
-
retrieve()
-
setHistoricSeriesResponseData(subject, data)
-
Allow tests to set the series test data.
Parameters:
Name Type Description subject
String The subject data
Array The series data -
setRealtimeSeriesResponseData(subject, data)
-
Allow tests to set the series test data.
Parameters:
Name Type Description subject
String The subject data
Array The series data