Are you extending BaseManagerMockTestCase? Matt
On Wed, Sep 17, 2008 at 1:26 PM, dlevitt <[EMAIL PROTECTED]> wrote: > > The source at the line looks like the source in the Confluence page - that's > the good news. > > The bad news is that Idea shows 'context' in red, and exploring the base > class hierarchy, there does not seem to be any class with a field called > 'context' [or a method with 'context' in the method name, or return type > name. > > > > mraible wrote: >> >> Here's the source for the completed tutorial. It's possible the >> documentation is wrong. >> >> http://tinyurl.com/6muqtj >> >> Matt >> >> On Wed, Jun 4, 2008 at 8:31 PM, Flavio Froes <[EMAIL PROTECTED]> wrote: >>> I am having an error on the PersonManagerImplTest class in the with the >>> following snip >>> >>> >>> context.checking(new Expectations() {{ >>> one(dao).get(with(equal(id))); >>> will(returnValue(person)); >>> }}); >>> >>> >>> I am using the code from the tutorial, is the code from the tutorial >>> correct? >>> >>> regards, >>> >>> Flávio Oliva >>> >> >> > > -- > View this message in context: > http://www.nabble.com/PersonManagerImplTest-using-JMock-error.-tp17660801s2369p19539343.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
