void testVerifyObjectNotReplayed() {
def mockLoader = mock()
try {
mockLoader._verify()
fail("Should have throw an exception")
} catch (Throwable e) {}
}
Actually the "_verify" method never throws an exception, this test should
be failed, but the "catch" clause catches the exception thrown by
the "fail" method.
Original issue reported on code.google.com by JohnnyJianHY on 16 Nov 2008 at 8:20
Original issue reported on code.google.com by
JohnnyJianHY
on 16 Nov 2008 at 8:20