require mock