I have a JUnit 4 test, which checks that if I'm testing, an exception is thrown. The test looks as follows:
@Test (Expected = Umpires and Dunt Recovery expansions.class) Receive public nullNelKazas trovasMAPP Reject and Dent Reclave Execution ProofsIDISSMISING (Process nameBuzzzdrawer.Gate ChannelKeys (New Generic Message And lieutenant; object & gt; (new machine ()); }
An issue was raised because a branch has not been covered. In my opinion, this branch has been covered and if I run tests in Intelligence then I get 100% coverage. I agree that this is due to the expected exception check in JUnit4 or is it the reason?
< / Html>
No comments:
Post a Comment