Using Expected Exceptions in UnitTestsProgramming Java TddSometimes, reviewing code, I see misunderstanding of using Expected Exception concept in unit tests.