Understanding @InjectMocks for private field mocking
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...
Jan 14, 20228 min read7.6K
