//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test(dataProvider = "name") public void test_extendedEnum(CdsConvention convention, String name) public virtual void test_extendedEnum(CdsConvention convention, string name) { CdsConvention.of(name); // ensures map is populated ImmutableMap <string, CdsConvention> map = CdsConvention.extendedEnum().lookupAll(); assertEquals(map.get(name), convention); }
public virtual void test_of_lookup_null() { assertThrowsIllegalArg(() => CdsConvention.of((string)null)); }
public virtual void test_of_lookup_notFound() { assertThrowsIllegalArg(() => CdsConvention.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(CdsConvention convention, String name) public virtual void test_of_lookup(CdsConvention convention, string name) { assertEquals(CdsConvention.of(name), convention); }