#BAEL-6916: add indentation and private access

This commit is contained in:
hmdrzsharifi 2023-09-30 17:27:47 +03:30
parent 6a858656fd
commit 1775ac73f0
1 changed files with 3 additions and 3 deletions

View File

@ -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");
} }
}; };
} }