#BAEL-6916: add indentation and private access
This commit is contained in:
parent
6a858656fd
commit
1775ac73f0
|
@ -32,7 +32,7 @@ import static org.springframework.test.util.AssertionErrors.assertNotNull;
|
||||||
public class FruitListJacksonUnmarshalUnitTest {
|
public class FruitListJacksonUnmarshalUnitTest {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
ProducerTemplate template;
|
private ProducerTemplate template;
|
||||||
|
|
||||||
@EndpointInject("mock:marshalledObject")
|
@EndpointInject("mock:marshalledObject")
|
||||||
private MockEndpoint mock;
|
private MockEndpoint mock;
|
||||||
|
@ -44,8 +44,8 @@ public class FruitListJacksonUnmarshalUnitTest {
|
||||||
return new RouteBuilder() {
|
return new RouteBuilder() {
|
||||||
@Override
|
@Override
|
||||||
public void configure() throws Exception {
|
public void configure() throws Exception {
|
||||||
from("direct:jsonInput").unmarshal(new JacksonDataFormat(FruitList.class))
|
from("direct:jsonInput").unmarshal(new JacksonDataFormat(FruitList.class))
|
||||||
.to("mock:marshalledObject");
|
.to("mock:marshalledObject");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue