fixed bug in mockery requirement