1given() .... --> RequestSpecification
2 .header accept() contentType()
3 .queryParam
4 .pathParam
5 .body
6 .log
7 .auth..
8when() --->> RequestSender
9 .get() ------>> Response Object
10 .post()
11 .put()
12 .delete()
13then() -----> ValidatableResponse
14 This is where assertion happen
15 .statusCode
16 .header accept() contentType()
17 .body( matchers goes here)
18 .log
19
1String methods can be combined in a process called method chaining.
2Given word = 'JavaScript';, word.toUpperCase() returns JAVASCRIPT.
3What would word.slice(4).toUpperCase() return?
4