/*
 * Copyright 2016 SEARCH-The National Consortium for Justice Information and Statistics
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.search.nibrs.route;

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 NibrsRouteApplicationTests {

	@Test
	public void contextLoads() {
	}

}

@@ -678,16 +678,54 @@
 route;%0A%0A
+import org.apache.camel.CamelContext;%0A
 import o
@@ -772,16 +772,143 @@
 unWith;%0A
+import org.search.nibrs.fbi.service.NibrsFbiServiceApplication;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0A
 import o
@@ -1020,16 +1020,56 @@
 gRunner;
+%0Aimport org.springframework.util.Assert;
 %0A%0A@RunWi
@@ -1106,16 +1106,60 @@
 BootTest
+(classes = NibrsFbiServiceApplication.class)
 %0Apublic 
@@ -1200,42 +1200,146 @@
 %0A%0A%09@
-Test%0A%09public void contextLoads() %7B
+Autowired %0A%09CamelContext context; %0A%09@Test%0A%09public void contextLoads() %7B%0A%09%09Assert.notNull(context, %22the camel context should not be null%22);
 %0A%09%7D%0A

Test the Autowired bean of context.