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 >