### Question:
InflationNodalCurveDefinition implements NodalCurveDefinition, ImmutableBean, Serializable { @Override public CurveMetadata metadata(LocalDate valuationDate, ReferenceData refData) { return curveWithoutFixingDefinition.metadata(valuationDate, refData); } @ImmutableConstructor  InflationNodalCurveDefinition(
      NodalCurveDefinition curveWithoutFixing,
      YearMonth lastFixingMonth,
      double lastFixingValue,
      SeasonalityDefinition seasonalityDefinition); @Override CurveName getName(); @Override ValueType getYValueType(); @Override ImmutableList<CurveNode> getNodes(); @Override NodalCurveDefinition filtered(LocalDate valuationDate, ReferenceData refData); @Override CurveMetadata metadata(LocalDate valuationDate, ReferenceData refData); @Override NodalCurve curve(LocalDate valuationDate, CurveMetadata metadata, DoubleArray parameters); static MetaBean meta(); @Override MetaBean metaBean(); NodalCurveDefinition getCurveWithoutFixingDefinition(); YearMonth getLastFixingMonth(); double getLastFixingValue(); SeasonalityDefinition getSeasonalityDefinition(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void test_metadata() { InflationNodalCurveDefinition test = new InflationNodalCurveDefinition( UNDERLYING_DEF, LAST_FIX_MONTH, LAST_FIX_VALUE, SEASONALITY_DEF); DefaultCurveMetadata expected = DefaultCurveMetadata.builder() .curveName(CURVE_NAME) .xValueType(ValueType.YEAR_FRACTION) .yValueType(ValueType.PRICE_INDEX) .dayCount(ACT_365F) .parameterMetadata(NODES.get(0).metadata(VAL_DATE, REF_DATA), NODES.get(1).metadata(VAL_DATE, REF_DATA)) .build(); assertThat(test.metadata(VAL_DATE, REF_DATA)).isEqualTo(expected); }