I have remove setMethods of PHPUnit... since it does not add any extra value having them.
Fixed the expectExceptionMessage.
Locked to PHPUnit 7.5.The library has some deprecations. Locking this will avoid having someone using them... And also it has more features.. so in this way we are allowed to use them...