//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(StubConvention type)
        public virtual void test_null(StubConvention type)
        {
            assertThrowsIllegalArg(() => type.toRollConvention(null, date(2014, JULY, 1), Frequency.P3M, true));
            assertThrowsIllegalArg(() => type.toRollConvention(date(2014, JULY, 1), null, Frequency.P3M, true));
            assertThrowsIllegalArg(() => type.toRollConvention(date(2014, JULY, 1), date(2014, OCTOBER, 1), null, true));
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test(dataProvider = "roll") public void test_toRollConvention(StubConvention conv, java.time.LocalDate start, java.time.LocalDate end, Frequency freq, boolean eom, RollConvention expected)
        public virtual void test_toRollConvention(StubConvention conv, LocalDate start, LocalDate end, Frequency freq, bool eom, RollConvention expected)
        {
            assertEquals(conv.toRollConvention(start, end, freq, eom), expected);
        }