public virtual void test_builder_incomplete()
        {
//JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET:
//ORIGINAL LINE: org.joda.beans.BeanBuilder<? extends GenericVolatilitySurfaceYearFractionParameterMetadata> builder1 = GenericVolatilitySurfaceYearFractionParameterMetadata.meta().builder();
            BeanBuilder <GenericVolatilitySurfaceYearFractionParameterMetadata> builder1 = GenericVolatilitySurfaceYearFractionParameterMetadata.meta().builder();

            assertThrowsIllegalArg(() => builder1.build());
//JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET:
//ORIGINAL LINE: org.joda.beans.BeanBuilder<? extends GenericVolatilitySurfaceYearFractionParameterMetadata> builder2 = GenericVolatilitySurfaceYearFractionParameterMetadata.meta().builder();
            BeanBuilder <GenericVolatilitySurfaceYearFractionParameterMetadata> builder2 = GenericVolatilitySurfaceYearFractionParameterMetadata.meta().builder();

            builder2.set(GenericVolatilitySurfaceYearFractionParameterMetadata.meta().yearFraction(), TIME_TO_EXPIRY);
            assertThrowsIllegalArg(() => builder2.build());
        }
        public virtual void test_builder_noLabel()
        {
//JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET:
//ORIGINAL LINE: org.joda.beans.BeanBuilder<? extends GenericVolatilitySurfaceYearFractionParameterMetadata> builder = GenericVolatilitySurfaceYearFractionParameterMetadata.meta().builder();
            BeanBuilder <GenericVolatilitySurfaceYearFractionParameterMetadata> builder = GenericVolatilitySurfaceYearFractionParameterMetadata.meta().builder();
            Pair <double, Strike> pair = Pair.of(TIME_TO_EXPIRY, STRIKE1);

            builder.set(GenericVolatilitySurfaceYearFractionParameterMetadata.meta().yearFraction(), TIME_TO_EXPIRY);
            builder.set(GenericVolatilitySurfaceYearFractionParameterMetadata.meta().strike(), STRIKE1);
            GenericVolatilitySurfaceYearFractionParameterMetadata test = builder.build();

            assertEquals(test.Identifier, pair);
            assertEquals(test.Label, Pair.of(TIME_TO_EXPIRY, STRIKE1.Label).ToString());
            assertEquals(test.Strike, STRIKE1);
            assertEquals(test.YearFraction, TIME_TO_EXPIRY);
        }