package com.pm.server;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;

@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = PmServerApplication.class)
@WebAppConfiguration
public class PmServerApplicationTests {

	@Test
	public void contextLoads() {
	}

}

@@ -142,16 +142,77 @@
 ration;%0A
+import org.springframework.context.annotation.ComponentScan;%0A
 import o
@@ -450,16 +450,48 @@
 .class)%0A
+@ComponentScan(%22com.pm.server%22)%0A
 @WebAppC

Add @ComponentScan to tests main class