MULE-7907: Ensure to call connection's close method on commit and rollba...

...ck operations.
this switch is both incorrect and unnecessary. 

It's incorrect because it's missing the break; on the first statatement. It's unnecesary because you can initialise the mock knowing what to do in both cases on the doSetUp() method