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