I observed a strange phenomenon. mockito creates different kinds of mocks objects: in one project, the mock objects are simply nulls, in another project, the mock objects are empty objects with nulls as values for their properties.
Please see the code and the results when the tests are run in below picture:
[
Why do I get different kinds of mocks with the same syntax?