### Question:
DefaultCurveMetadata implements CurveMetadata, ImmutableBean, Serializable { public static DefaultCurveMetadata of(String name) { return of(CurveName.of(name)); } DefaultCurveMetadata(
      CurveName curveName,
      ValueType xValueType,
      ValueType yValueType,
      Map<CurveInfoType<?>, Object> info,
      List<? extends ParameterMetadata> parameterMetadata); static DefaultCurveMetadata of(String name); static DefaultCurveMetadata of(CurveName name); static DefaultCurveMetadataBuilder builder(); @Override T getInfo(CurveInfoType<T> type); @SuppressWarnings("unchecked") @Override Optional<T> findInfo(CurveInfoType<T> type); @Override DefaultCurveMetadata withInfo(CurveInfoType<T> type, T value); @Override DefaultCurveMetadata withParameterMetadata(List<? extends ParameterMetadata> parameterMetadata); DefaultCurveMetadataBuilder toBuilder(); static DefaultCurveMetadata.Meta meta(); @Override DefaultCurveMetadata.Meta metaBean(); @Override CurveName getCurveName(); @Override ValueType getXValueType(); @Override ValueType getYValueType(); ImmutableMap<CurveInfoType<?>, Object> getInfo(); @Override Optional<List<ParameterMetadata>> getParameterMetadata(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void test_serialization() { CurveMetadata test = DefaultCurveMetadata.of(CURVE_NAME); assertSerialization(test); }