BAEL-755 changing the name of the POKO to a DTO and removing the use of @Autowired in the constructor as it is not needed.

This commit is contained in:
tschiman 2017-05-31 16:33:27 -06:00
parent 73b3c09dd0
commit 50cf9a5070

View File

@ -41,7 +41,7 @@ class KotlinDemoApplicationTests {
} }
@Test @Test
fun testHelloPoko() { fun testHelloDto() {
var result = testRestTemplate?.getForEntity("/hello-dto", HelloDto::class.java) var result = testRestTemplate?.getForEntity("/hello-dto", HelloDto::class.java)
Assert.assertNotNull(result) Assert.assertNotNull(result)