From: <gil...@ax...> - 2004-05-03 10:27:42
|
I have a function that take 3 parameters. I have use the mock function acceptXXX(new Ignore(),new Ignore(), new SmallerThan(x)); With SmallerThan being a class that implement ExpectableParameter. When I execute my code, I always get an unexpected call exception. I have run the code into a debuger, and I have found something strange. RecursiveComparator.equals method is called with parameters that are Wrapper, but the code of this class doesn't seems to expect paramters of this type. This function return thus always false, which trigger then the exception. Did I do something wrong or is there indeed a bug? Gilles SCOKART -----Disclaimer----- This message may contain confidential information intended solely for the use of the named addressee. If you are not the intended recipient, you should not read, use, disclose or reproduce the content of this message. If you have received this message by mistake, please notify the sender immediately. Any views or opinions presented in this message are solely those of the author and do not necessarily represent those of AXA Belgium, AXA Bank Belgium, AXA Tech Belgium GIE - ESV or any other entity of the AXA Group, unless otherwise stated by the sender and duly authorized by the said companies. --------------------- |