java project that mocks a static method