From: J. X. <sou...@ma...> - 2003-12-16 22:02:41
|
The class I'm trying to mock is instantiated by a third part tool (castor xml unmarshaller in this case) that does not take any factory. My problem with this is that I don't have chance to set any expectations before the actual calls are made. How does everybody else handle cases like this with mock objects? TIA. --J.X. |