Created
October 22, 2017 19:09
-
-
Save AlexeySoshin/b484c2d5dbad8f8e3e8b18a01a029f70 to your computer and use it in GitHub Desktop.
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
@Test | |
fun shouldReturnNotFoundIfReceivedWrongId() { | |
val response = restTemplate.getForEntity("/${UUID.randomUUID()}", Any::class.java) | |
assertThat(response.statusCode).isEqualTo(HttpStatus.NOT_FOUND) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment