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...
practicingprogrammer.hashnode.dev8 min read