// Path: SpringBoot-SpringDataJPA/src/main/java/com/App.java
// @SpringBootApplication()
// public class App {
// 
//     public static void main(String[] args) {
//         SpringApplication.run(App.class, args);
//     }
// }


import com.App;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
package com.lengchuan.springBoot.druid.service;


/**
 * @author lengchuan <lishuijun1992@gmail.com>
 * @date 17-4-3
 */
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = App.class)
public class HelloWorldServiceTest {

    @Autowired
    private HelloWorldService helloWorldService;

    @Test
// Path: SpringBoot-SpringDataJPA/src/main/java/com/App.java
// @SpringBootApplication()
// public class App {
// 
//     public static void main(String[] args) {
//         SpringApplication.run(App.class, args);
//     }
// }


// Path: SpringBoot-JuintTest/src/test/java/com/lengchuan/springBoot/druid/service/HelloWorldServiceTest.java
import com.App;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

package com.lengchuan.springBoot.druid.service;


/**
 * @author lengchuan <lishuijun1992@gmail.com>
 * @date 17-4-3
 */
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = App.class)
public class HelloWorldServiceTest {

    @Autowired
    private HelloWorldService helloWorldService;

    @Test
    public void sayHello() throws Exception {