For a company that was supposedly in serious trouble not long ago, Teva (NASDAQ:TEVA) certainly manages to put up the appearance of a strong company. And once again we have a case-in-point lesson on the benefits of buying quality companies when Wall Street freak-outs push prices down.

For the second quarter, Teva reported that sales jumped 77% to more than $2 billion. Though that figure was above expectations, what really stood out was the 53.9% gross margin (55.4% if you make certain adjustments) and the growth from last year's 47.4% level. When all was said and done, this Israeli generics giant produced profits more than double the year-ago level.

When it comes to what went right, take your pick. Copaxone sales were up 22% and the company still has about one-third of the MS market. Moreover, the introductions of simvastatin (the generic of Merck's (NYSE:MRK) Zocor) and pravastatin (the generic of Bristol-Myers' (NYSE:BMY) Pravachol) seem to have been rather successful, even for all of the sound and fury about Merck's decision to compete aggressively on price with certain customers like UnitedHealth (NYSE:UNH) and WellPoint (NYSE:WLP).

Looking on ahead, I have a hard time seeing how Teva wouldn't continue to succeed. The reintroduction of Elan's (NYSE:ELN) Tysabri is a threat to Copaxone sales, but there are others apt to suffer more (like Serono (NYSE:SRA)), and that's assuming that doctors are equally comfortable prescribing the two drugs.

Moreover, for all of the talk about more aggressive competition from Big Pharma, Teva still has a few aces up its sleeve. First, it has a huge pipeline with 148 applications on file at the FDA. Second, I just don't believe that the U.S. government is going to let pharmaceutical companies push generics companies around too much. Say what you will about free markets and capitalist competition, but the government has a vested monetary (and voting) interest in making sure that cheaper generics are available.

Investors who bought on the recent downswing are already sitting pretty, but there's no reason to sell out now. After all, if economic times get tougher, this is a good place to be -- health care is an evergreen market, especially when you offer lower-cost treatment alternatives.

For more non-generic Foolishness:

UnitedHealth is both a Stock Advisor and Inside Value pick. Merck is an Income Investor selection. Whatever your investing style, the Fool has a newsletter for you.

Fool contributor Stephen Simpson has no financial interest in any stocks mentioned (that means he's neither long nor short the shares).