public virtual void test_of_pardSpread()
        {
            CdsIsdaCreditCurveNode test = CdsIsdaCreditCurveNode.ofParSpread(TEMPLATE_NS, QUOTE_ID, LEGAL_ENTITY);

            assertEquals(test.Label, END_DATE.ToString());
            assertEquals(test.LegalEntityId, LEGAL_ENTITY);
            assertEquals(test.ObservableId, QUOTE_ID);
            assertEquals(test.Template, TEMPLATE_NS);
            assertEquals(test.date(VAL_DATE, REF_DATA), END_DATE);
        }
        public virtual void test_of_pointsUpfront()
        {
            CdsIsdaCreditCurveNode test = CdsIsdaCreditCurveNode.ofPointsUpfront(TEMPLATE, QUOTE_ID, LEGAL_ENTITY, 0.01);

            assertEquals(test.Label, LABEL_AUTO);
            assertEquals(test.LegalEntityId, LEGAL_ENTITY);
            assertEquals(test.ObservableId, QUOTE_ID);
            assertEquals(test.Template, TEMPLATE);
            assertEquals(test.date(VAL_DATE, REF_DATA), date(2025, 6, 20));
        }
        public virtual void test_builder()
        {
            CdsIsdaCreditCurveNode test = CdsIsdaCreditCurveNode.builder().label(LABEL).template(TEMPLATE).observableId(QUOTE_ID).quoteConvention(CdsQuoteConvention.PAR_SPREAD).legalEntityId(LEGAL_ENTITY).build();

            assertEquals(test.Label, LABEL);
            assertEquals(test.LegalEntityId, LEGAL_ENTITY);
            assertEquals(test.ObservableId, QUOTE_ID);
            assertEquals(test.Template, TEMPLATE);
            assertEquals(test.date(VAL_DATE, REF_DATA), date(2025, 6, 20));
        }