Remove usage of deprecated initMocks method

No match.