### Question:
RequestReplayInfo extends Request { public static RequestReplayInfoSyntax replayInfo() { return new Builder(); } private  RequestReplayInfo(Builder builder); static RequestReplayInfoSyntax replayInfo(); @Override Sc2Api.Request toSc2Api(); @Override ResponseType responseType(); Optional<Path> getReplayPath(); Optional<byte[]> getReplayDataInBytes(); boolean isDownloadData(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test void throwsExceptionWhenReplayCaseIsNull() { assertThatExceptionOfType(IllegalArgumentException.class) .isThrownBy(() -> fullAccessTo(replayInfo()).build()) .withMessage("replay case is required"); }