The Original Best Practice A long time ago, when PHP 5.0 had just been released and PHPUnit 2 was the latest and greatest, the approach shown in the example below was the best practice for testing exceptions:
![Questioning PHPUnit Best Practices | The PHP Consulting Company](https://cdn-ak-scissors.b.st-hatena.com/image/square/b108faff8d83cc9d694545832b4be716fe0bd906/height=288;version=1;width=512/https%3A%2F%2Fthephp.cc%2Fimages%2Fcontent-dynamic%2Fen%2Farticles%2Fquestioning-phpunit-best-practices%2Fmood.jpg)
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く