Pregnancy dreams?

I had an intense dream last night about that I knew I was pregnant, and I kept trying to take a pregnancy test, but obstacles kept getting in my way. And then I woke up with cramps. My husband and I BD'd on my first fertile day. Had anyone had a dream they were pregnant and then found out later they were for real?