Created
March 5, 2020 08:06
-
-
Save nuboat/e9127fe403265983e207d3a1ea794612 to your computer and use it in GitHub Desktop.
spbbook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package link.colon.component; | |
import org.junit.jupiter.api.Test; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.boot.test.context.SpringBootTest; | |
@SpringBootTest | |
class HelloWorldTest { | |
@Autowired | |
private HelloWorld h; | |
@Test | |
void testSayHi() { | |
assert "Hello World".equals(h.sayHi()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment