Merge pull request #1271 from mulesoft/MULE-8094

MULE-8094 - fixing test case compilation problems
(cherry picked from commit c81c24c597e0ccdc9fe7f60f708c75309a52d045)