ityouknow a626630e43 m
2017-05-23 09:39:55 +08:00

24 lines
645 B
Java

package com.neo;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class ApplicationTests {
@Value("${neo.hello}")
private String hello;
@Test
public void contextLoads() {
System.out.println("************************************************************");
System.out.println("hello value : "+hello);
System.out.println("************************************************************");
}
}