From: J. X. <sou...@ma...> - 2003-12-17 15:02:55
|
Quoting Nat Pryce <nat...@b1...>: > Can't you mock the unmarshaller? Well I thought about that, but first of all, wouldn't it go against the "Only Mock Your Own Interface" pattern? Secondly, that'd require ClassUnderTest to call an adapter instead of calling the real unmarshaller directly (or do I just make the mock unmarshaller in the castor package and shadow the real one on the classpath?) I wasn't sure either way would be a good idea... --J.X. |