diff --git a/src/main/java/org/kiwiproject/test/okhttp3/mockwebserver/RecordedRequestAssertions.java b/src/main/java/org/kiwiproject/test/okhttp3/mockwebserver/RecordedRequestAssertions.java index 5dc54fe..4bb44a6 100644 --- a/src/main/java/org/kiwiproject/test/okhttp3/mockwebserver/RecordedRequestAssertions.java +++ b/src/main/java/org/kiwiproject/test/okhttp3/mockwebserver/RecordedRequestAssertions.java @@ -38,6 +38,7 @@ private RecordedRequestAssertions(RecordedRequest recordedRequest) { * * @param recordedRequest the {@link RecordedRequest} to assert upon * @return this instance + * @throws IllegalArgumentException if {@code recordedRequest} is {@code null} */ public static RecordedRequestAssertions assertThat(RecordedRequest recordedRequest) { return assertThatRecordedRequest(recordedRequest); @@ -52,6 +53,7 @@ public static RecordedRequestAssertions assertThat(RecordedRequest recordedReque * * @param recordedRequest the {@link RecordedRequest} to assert upon * @return this instance + * @throws IllegalArgumentException if {@code recordedRequest} is {@code null} */ public static RecordedRequestAssertions assertThatRecordedRequest(RecordedRequest recordedRequest) { return new RecordedRequestAssertions(recordedRequest);