users@jersey.java.net

Re: [Jersey] Unit testing resources

From: Martin Probst <mail_at_martin-probst.com>
Date: Mon, 23 Jun 2008 11:32:16 +0200

>
> You mean that the field "info" is null? Jersey should be setting that field
> for you.
>
> Are you using your own ComponentProvider for testing?


The problem is that I don't have any idea how to obtain a properly injected
instance of my FooResource class in the first place. I'd rather not
re-implement my own ComponentProvider and injection, is there a way to
obtain one from Jersey?

Regards,
Martin