Closed GoogleCodeExporter closed 9 years ago
The only way to fix this bug is, not allowing recording expectation of the
method
"toString()" in Java, that is, if the "toString()" method is called from the
Java
side and it is in record state, invoke a default implementation (e.g. return
"Mock
for SomeClass").
It is a rare case, so it is acceptable.
Original comment by JohnnyJianHY
on 16 Jan 2009 at 12:03
Original comment by JohnnyJianHY
on 16 Jan 2009 at 12:26
Original comment by JohnnyJianHY
on 16 Jan 2009 at 12:32
Original issue reported on code.google.com by
julien.g...@gmail.com
on 16 Jan 2009 at 8:13