Suppressing mockery warnings