mirror of
https://github.com/ityouknow/spring-cloud-examples.git
synced 2025-12-08 19:25:55 +00:00
24 lines
645 B
Java
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("************************************************************");
|
|
}
|
|
|
|
}
|