Use Mockery as getMock isnt supported in Database Unit testing