public virtual void test_of_lookup_null() { assertThrows(() => CdsQuoteConvention.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_lookup(CdsQuoteConvention convention, String name) public virtual void test_of_lookup(CdsQuoteConvention convention, string name) { assertEquals(CdsQuoteConvention.of(name), convention); }
public virtual void test_of_lookup_notFound() { assertThrows(() => CdsQuoteConvention.of("Rubbish"), 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_toString(CdsQuoteConvention convention, String name) public virtual void test_toString(CdsQuoteConvention convention, string name) { assertEquals(convention.ToString(), name); }