public virtual void test_of_lookup_notFound() { assertThrowsIllegalArg(() => KnockType.of("Rubbish")); }
public virtual void test_of_lookup_null() { assertThrowsIllegalArg(() => KnockType.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(KnockType type, String name) public virtual void test_of_lookup(KnockType type, string name) { assertEquals(KnockType.of(name), type); }