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
4040
4141``` java
4242class Selfie {
43- public static <T > Selfie . DiskSelfie expectSelfie (T actual , Camera<T > camera ) { ... }
43+ public static <T > StringSelfie expectSelfie (T actual , Camera<T > camera ) { ... }
4444}
4545@FunctionalInterface
4646interface Camera <T> {
@@ -64,7 +64,7 @@ public class SelfieSettings extends SelfieSettingsAPI {
6464 private static final Camera<Response > RESPONSE_CAMERA = (Response response) - >
6565 Snapshot . of(response. getBody(). asString());
6666
67- public static Selfie . DiskSelfie expectSelfie (Response response ) {
67+ public static StringSelfie expectSelfie (Response response ) {
6868 return Selfie . expectSelfie(response, RESPONSE_CAMERA );
6969 }
7070}
@@ -152,10 +152,10 @@ private static final Lens PRETTY_PRINT = (Snapshot snapshot) -> {
152152 }
153153};
154154
155- public static Selfie . DiskSelfie expectSelfie(Response response) {
155+ public static StringSelfie expectSelfie(Response response) {
156156 return Selfie . expectSelfie(response, RESPONSE_CAMERA . withLens(PRETTY_PRINT ));
157157}
158- public static Selfie . DiskSelfie expectSelfie(Email email) {
158+ public static StringSelfie expectSelfie(Email email) {
159159 return Selfie . expectSelfie(email, EMAIL_CAMERA . withLens(PRETTY_PRINT ));
160160}
161161```
You can’t perform that action at this time.
0 commit comments