#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 {
@Autowired
ProducerTemplate template;
private ProducerTemplate template;
@EndpointInject("mock:marshalledObject")
private MockEndpoint mock;
@ -44,8 +44,8 @@ public class FruitListJacksonUnmarshalUnitTest {
return new RouteBuilder() {
@Override
public void configure() throws Exception {
from("direct:jsonInput").unmarshal(new JacksonDataFormat(FruitList.class))
.to("mock:marshalledObject");
from("direct:jsonInput").unmarshal(new JacksonDataFormat(FruitList.class))
.to("mock:marshalledObject");
}
};
}