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