No, she got it after she was pregnant and done nursing her DD. The tricky part was that she was a school teacher and this was about the time where a lot of college students were coming down with measles. She was fine though.
You can still have your dr test you for immunity, it is just a simple blood test, that way you will know if you are immune or not especially since you can't have a vaccine.