When mocks break the build

You&rsquo;re running your Maven build, all your tests pass successfully, but suddenly the build fails with a cryptic error in the forked process. This article explores a frustrating edge case where mocked exceptions break the test reporting phase, causing builds to fail despite passing tests.