From: David Corbin Date: 2002-02-19T20:23:09+09:00 Subject: Re: Anonymous class support Sean Russell wrote: >David Corbin wrote: > >>I find Java anonymous classes to be very helpful when writing UnitTests, >>because I can overide a method for "one time use" just to verify it gets >>called correctly. >> > >Well, you can use blocks. But you're looking specifically to override a >single method from within another method for a one-shot use, right? > Yes. That's correct.