How much should the cost for replacing a wheel bearing and struts? on 1999 Toyota Corolla

I took my car to a mechanic yesterday. I mentioned to him it was making a rattling sound and asked him what might be the problem. I was charged over $500.00. This seems like a lot of money for a wheel bearing. What should I have paid?

Asked by for the 1999 Toyota Corolla
2 answers
it should be 150 to 200
I need more information to give a correct answer. Was it front or rear and exactly what did he replace?