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