document mock mode