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