Fixed compiler mock