public virtual void test_of_lookup_null()
 {
     assertThrows(() => CapitalIndexedBondYieldConvention.of(null), typeof(System.ArgumentException));
 }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test(dataProvider = "name") public void test_of_lookupLowerCase(CapitalIndexedBondYieldConvention convention, String name)
        public virtual void test_of_lookupLowerCase(CapitalIndexedBondYieldConvention convention, string name)
        {
            assertEquals(CapitalIndexedBondYieldConvention.of(name.ToLower(Locale.ENGLISH)), convention);
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test(dataProvider = "name") public void test_of_lookupStandard(CapitalIndexedBondYieldConvention convention, String name)
        public virtual void test_of_lookupStandard(CapitalIndexedBondYieldConvention convention, string name)
        {
            assertEquals(CapitalIndexedBondYieldConvention.of(convention.name()), convention);
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test(dataProvider = "name") public void test_toString(CapitalIndexedBondYieldConvention convention, String name)
        public virtual void test_toString(CapitalIndexedBondYieldConvention convention, string name)
        {
            assertEquals(convention.ToString(), name);
        }