### Question:
GenericVolatilitySurfaceYearFractionParameterMetadata implements ParameterMetadata, ImmutableBean, Serializable { public static GenericVolatilitySurfaceYearFractionParameterMetadata.Meta meta() { return GenericVolatilitySurfaceYearFractionParameterMetadata.Meta.INSTANCE; } private  GenericVolatilitySurfaceYearFractionParameterMetadata(
      double yearFraction,
      Tenor yearFractionTenor,
      Strike strike,
      String label); static GenericVolatilitySurfaceYearFractionParameterMetadata of(
      double yearFraction,
      Strike strike); static GenericVolatilitySurfaceYearFractionParameterMetadata of(
      double yearFraction,
      Tenor yearFractionTenor,
      Strike strike); static GenericVolatilitySurfaceYearFractionParameterMetadata of(
      double yearFraction,
      Strike strike,
      String label); static GenericVolatilitySurfaceYearFractionParameterMetadata of(
      double yearFraction,
      Tenor yearFractionTenor,
      Strike strike,
      String label); @Override Pair<Double, Strike> getIdentifier(); static GenericVolatilitySurfaceYearFractionParameterMetadata.Meta meta(); @Override GenericVolatilitySurfaceYearFractionParameterMetadata.Meta metaBean(); double getYearFraction(); Optional<Tenor> getYearFractionTenor(); Strike getStrike(); @Override String getLabel(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void test_builder_incomplete() { BeanBuilder<? extends GenericVolatilitySurfaceYearFractionParameterMetadata> builder1 = GenericVolatilitySurfaceYearFractionParameterMetadata.meta().builder(); assertThatIllegalArgumentException() .isThrownBy(() -> builder1.build()); BeanBuilder<? extends GenericVolatilitySurfaceYearFractionParameterMetadata> builder2 = GenericVolatilitySurfaceYearFractionParameterMetadata.meta().builder(); builder2.set(GenericVolatilitySurfaceYearFractionParameterMetadata.meta().yearFraction(), TIME_TO_EXPIRY); assertThatIllegalArgumentException() .isThrownBy(() -> builder2.build()); }