### Question:
RequestStartReplay extends Request { @Override public Sc2Api.Request toSc2Api() { Sc2Api.RequestStartReplay.Builder aSc2ApiRequestStartReplay = Sc2Api.RequestStartReplay.newBuilder() .setOptions(interfaceOptions.toSc2Api()) .setObservedPlayerId(observedPlayerId) .setDisableFog(disableFog) .setRealtime(realtime); getReplayPath().map(Path::toString).ifPresent(aSc2ApiRequestStartReplay::setReplayPath); getReplayDataInBytes().map(ByteString::copyFrom).ifPresent(aSc2ApiRequestStartReplay::setReplayData); getMapDataInBytes().map(ByteString::copyFrom).ifPresent(aSc2ApiRequestStartReplay::setMapData); return Sc2Api.Request.newBuilder() .setStartReplay(aSc2ApiRequestStartReplay.build()) .build(); } private  RequestStartReplay(Builder builder); static RequestStartReplaySyntax startReplay(); @Override Sc2Api.Request toSc2Api(); @Override ResponseType responseType(); Optional<Path> getReplayPath(); Optional<byte[]> getReplayDataInBytes(); Optional<byte[]> getMapDataInBytes(); InterfaceOptions getInterfaceOptions(); int getObservedPlayerId(); boolean isDisableFog(); boolean isRealtime(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test void serializesDefaultDisableFogValueIfNotSet() { Sc2Api.RequestStartReplay aSc2ApiRequestStartReplay = aRequestStartReplay().build().toSc2Api().getStartReplay(); assertThat(aSc2ApiRequestStartReplay.hasDisableFog()).as("disable fog value is set").isTrue(); assertThat(aSc2ApiRequestStartReplay.getDisableFog()).as("default disable fog value is set").isFalse(); }
@Test void serializesDefaultRealtimeValueIfNotSet() { Sc2Api.RequestStartReplay aSc2ApiRequestStartReplay = aRequestStartReplay().build().toSc2Api().getStartReplay(); assertThat(aSc2ApiRequestStartReplay.hasRealtime()).as("realtime value is set").isTrue(); assertThat(aSc2ApiRequestStartReplay.getRealtime()).as("default realtime value is set").isFalse(); }