These two functions MockMaker::createStaticMock and MockMaker::createConstructionMock throw exceptions with message contains by placing the 'mockito-inline' artifact.
We know that mockito-inline has been removed since v5.3.0. These messages should be changed.