Understanding @InjectMocks for private field mocking
Jan 14, 2022 · 8 min read · Recently I've been working on getting unit tests set up for a decent chunk of java code. The existing tests were more of a placeholder until the team I work with could set up more rigorous testing. The majority of the code hasn't updated very much bu...
Join discussion