Bring a saucepan of water to a boil, and add the beans. Simmer until crisp-tender, about 3 minutes. Drain, rinse under cold water, and drain again. Set the beans aside.
Heat the oil in a large skillet over medium heat, and add the onion and garlic. Cook for 5 minutes. Then add the tomatoes and wine, and cook for 20 minutes.