public virtual void test_of_lookup_notFound() { assertThrowsIllegalArg(() => FloatingRateType.of("Rubbish")); }
//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(FloatingRateType convention, String name) public virtual void test_of_lookup(FloatingRateType convention, string name) { assertEquals(FloatingRateType.of(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_of_lookupLowerCase(FloatingRateType convention, String name) public virtual void test_of_lookupLowerCase(FloatingRateType convention, string name) { assertEquals(FloatingRateType.of(name.ToLower(Locale.ENGLISH)), convention); }
public virtual void test_of_lookup_null() { assertThrowsIllegalArg(() => FloatingRateType.of(null)); }