I am getting nullpointerexception in alphavantageServiceTest file.
I have mapped the string response to the alphavantageDailyResponse.
Then i iterated through the dates (from to) and used the function getCandles to get the hashmap of alphavantageCandle.
Then i used function of alphavantageCandle setDate (created by me) and set the date.
Then i added the object to Newly created arraylist.
Then casted it to candles and returned.
But something is going wrong.