### Question:
Fork { public tech.pegasys.teku.datastructures.state.Fork asInternalFork() { return new tech.pegasys.teku.datastructures.state.Fork( previous_version, current_version, epoch); } @JsonCreator  Fork(
      @JsonProperty("previous_version") final Bytes4 previous_version,
      @JsonProperty("current_version") final Bytes4 current_version,
      @JsonProperty("epoch") final UInt64 epoch);  Fork(final tech.pegasys.teku.datastructures.state.Fork fork); tech.pegasys.teku.datastructures.state.Fork asInternalFork(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); @Schema(type = "string", pattern = PATTERN_BYTES4, description = DESCRIPTION_BYTES4)
  public Bytes4 previous_version; @Schema(type = "string", pattern = PATTERN_BYTES4, description = DESCRIPTION_BYTES4)
  public Bytes4 current_version; @Schema(type = "string")
  public UInt64 epoch; }### Answer:
@Test public void shouldConvertToInternalObject() { Fork fork = new Fork(forkInternal); assertThat(fork.asInternalFork()).isEqualTo(forkInternal); }