users@jersey.java.net
[Jersey] Re: Unit Testing with Spring
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
] [
Next in thread
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Paul Sandoz <
Paul.Sandoz_at_oracle.com
>
Date
: Thu, 13 Jan 2011 09:59:39 +0100
On Jan 12, 2011, at 2:22 PM, Jonathan Cook - FM&T wrote:
> That was it :)
>
> Now I would like to be able to mock out that autowired bean. I came
> across this but it looks like a bit of work, is there anything neater?
>
http://jersey.576304.n2.nabble.com/unit-test-a-jersey-resource-with-mocked-spring-beans-td581233.html
>
Unfortunately not. We don't have any bootstrapping for mocking
support. The current recommended approach is to use an HTTP container.
Paul.
This message
: [
Message body
]
Next message
:
Paul Sandoz: "[Jersey] Re: Unit Testing with Spring"
Previous message
:
johny0704: "[Jersey] class org.codehaus.jettison.json.JSONObject, and MIME media type, application/json, was not found"
In reply to
:
Jonathan Cook - FM&T: "[Jersey] Re: Unit Testing with Spring"
Next in thread
:
Colin Vipurs: "[Jersey] Re: Unit Testing with Spring"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]