File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ The first thing to notice is that we'll be doing a lot of `RestAssured.get().bod
40
40
41
41
``` java
42
42
class Selfie {
43
- public static <T > Selfie . DiskSelfie expectSelfie (T actual , Camera<T > camera ) { ... }
43
+ public static <T > StringSelfie expectSelfie (T actual , Camera<T > camera ) { ... }
44
44
}
45
45
@FunctionalInterface
46
46
interface Camera <T> {
@@ -64,7 +64,7 @@ public class SelfieSettings extends SelfieSettingsAPI {
64
64
private static final Camera<Response > RESPONSE_CAMERA = (Response response) - >
65
65
Snapshot . of(response. getBody(). asString());
66
66
67
- public static Selfie . DiskSelfie expectSelfie (Response response ) {
67
+ public static StringSelfie expectSelfie (Response response ) {
68
68
return Selfie . expectSelfie(response, RESPONSE_CAMERA );
69
69
}
70
70
}
@@ -152,10 +152,10 @@ private static final Lens PRETTY_PRINT = (Snapshot snapshot) -> {
152
152
}
153
153
};
154
154
155
- public static Selfie . DiskSelfie expectSelfie(Response response) {
155
+ public static StringSelfie expectSelfie(Response response) {
156
156
return Selfie . expectSelfie(response, RESPONSE_CAMERA . withLens(PRETTY_PRINT ));
157
157
}
158
- public static Selfie . DiskSelfie expectSelfie(Email email) {
158
+ public static StringSelfie expectSelfie(Email email) {
159
159
return Selfie . expectSelfie(email, EMAIL_CAMERA . withLens(PRETTY_PRINT ));
160
160
}
161
161
```
You can’t perform that action at this time.
0 commit comments