this worked great and got me passed the exceptional condition I am looking at easymock now.
thanks much. Korosh. On Sat, 2004-01-24 at 22:33, Niclas Hedhman wrote: > On Saturday 24 January 2004 17:18, korosh afshar wrote: > > i.e. not having to setup a whole log of mock objects to test one > > implementation method ? there might not be any other option which is > > fine in which case, I ask if there is a repository of Mock avalon/merlin > > objects I can pull in to use. > > Normally, we do define/setup/create a lot of mock objects in Unittesting. > However, in this particular case, you have > > org.apache.avalon.framework.logger.ConsoleLogger > > So your setUp() method, just do > m_logger = new ConsoleLogger(); > > Note that the framework-impl.jar must be available to the test. > > Niclas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]