//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test(dataProvider = "types") public void test_null(RollConvention type) public virtual void test_null(RollConvention type) { assertThrowsIllegalArg(() => type.adjust(null)); assertThrowsIllegalArg(() => type.matches(null)); assertThrowsIllegalArg(() => type.next(date(2014, JULY, 1), null)); assertThrowsIllegalArg(() => type.next(null, P3M)); assertThrowsIllegalArg(() => type.previous(date(2014, JULY, 1), null)); assertThrowsIllegalArg(() => type.previous(null, P3M)); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test(dataProvider = "matches") public void test_matches(RollConvention conv, java.time.LocalDate input, boolean expected) public virtual void test_matches(RollConvention conv, LocalDate input, bool expected) { assertEquals(conv.matches(input), expected); }