Thorny plant with tomato-like fruit found in garden
Today I was looking through my family's garden and came across a large plant that I have never noticed before. It has thorny stems, rounded leaves, and small tomato-like fruit on the ends on them. These "tomatoes" are have a fairly thick skin and are filled with sort of "hairy" seeds on the inside. I found out that one of my dogs had eaten one that had fallen on the ground. She has only eaten one to my knowledge and she hasn't displayed any sick behavior as of yet :\. Obviously I will keep a close eye on her and in the mean time hope to be able to identify what kind of plant this is.
Here are some pictures I have taken of it today:
Any help is appreciated!