Can't write a comment because reputation < 50
You use morningstarCsvService variable, how do you declare it? I think need to mock it like
@MockitoBean
private MorningstarCsvService morningstarCsvService;