MULE-7840: Upgraded junit to 4.11. Changed mockito-all for core. Adjuste...

...d and fixed tests.
is this actually working? Shoulnt it be typeCompatibleWith?