Fix syntax error in mocking example