Re: Unit testing: Hits not implementing an interface and being final

2006-07-03 Thread Alessio Pace
n easily detect how far from the bug I am :-) Thanks again, regards, -- Alessio Pace. http://www.jroller.com/page/alessiopace On 7/3/06, Erick Erickson <[EMAIL PROTECTED]> wrote: Don't know if this helps or hurts, but my approach for unit tests was to implement an index in a RAMdir f

Unit testing: Hits not implementing an interface and being final

2006-07-03 Thread Alessio Pace
example). So my solution would be to change my component collaborator type from Hits to a MyHits interface, which has a MyHitsImpl that works by delegation on a concrete Hits object.. Any thoughts about it? Best regards, -- Alessio Pace. http://www.jroller.com/page/alessiopace