Update javaxval/src/test/java/org/baeldung/javaxval/messageinterpolator/ParameterMessageInterpolaterIntegrationTest.java

update to use the givenX_whenY_thenZ naming convention for tests

Co-Authored-By: KevinGilmore <kpg102@gmail.com>
This commit is contained in:
Yavuz Tas
2019-10-29 10:02:27 +01:00
committed by GitHub
parent db85c8f275
commit e28fd3e7c9
20479 changed files with 1642089 additions and 0 deletions
@@ -0,0 +1,8 @@
#%RAML 1.0 Trait
usage: Use this trait for resources that could respond with a 404 status
responses:
404:
body:
application/json:
type: Error
example: !include /examples/Error.json
@@ -0,0 +1,5 @@
#%RAML 1.0 Trait
usage: Use this trait for resources whose request body is a single item
body:
application/json:
type: <<typeName>>
@@ -0,0 +1,8 @@
#%RAML 1.0 Trait
usage: Use this trait for resources whose response body is a collection of items
responses:
200:
body:
application/json:
type: <<typeName>>[]
example: !include /examples/<<typeName|!pluralize>>.json
@@ -0,0 +1,8 @@
#%RAML 1.0 Trait
usage: Use this trait for resources whose response body is a single item
responses:
200:
body:
application/json:
type: <<typeName>>
example: !include /examples/<<typeName>>.json