package cz.meza.spring.boot.camel;

import org.apache.camel.Produce;
import org.apache.camel.ProducerTemplate;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest
public class SpringBootCamelExampleTests {

	@Produce
	private ProducerTemplate producerTemplate;

	@Test
	public void contextLoads() {
		System.out.println("d");
	}

}

@@ -57,113 +57,319 @@
 mel.
-Produce;%0Aimport org.apache.camel.ProducerTemplate;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith
+CamelContext;%0Aimport org.apache.camel.Exchange;%0Aimport org.apache.camel.Produce;%0Aimport org.apache.camel.ProducerTemplate;%0Aimport org.apache.camel.impl.DefaultExchange;%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.beans.factory.annotation.Autowired
 ;%0Aim
@@ -587,16 +587,40 @@
 @Produce
+(uri = %22direct:getInfo%22)
 %0A%09privat
@@ -650,85 +650,337 @@
 ucer
-Template;%0A%0A%09@Test%0A%09public void contextLoads() %7B%0A%09%09System.out.println(%22d%22
+GetInfo;%0A%0A%09@Autowired%0A%09private CamelContext camelContext;%0A%0A%09private static final String BASIC_INFORMATION = %22Basic information%22;%0A%0A%09@Test%0A%09public void testBasicInformation() %7B%0A%09%09Exchange exchange = producerGetInfo.send(new DefaultExchange(camelContext));%0A%09%09Assert.assertEquals(BASIC_INFORMATION, exchange.getIn().getBody()
 );%0A%09%7D%0A%0A
+%09%0A%0A
 %7D%0A

Add basic test