public void Dev2MonthlyTrigger_Construct_Test() { var native = new MonthlyTrigger(2, MonthsOfTheYear.April); var wrapped = new Dev2MonthlyTrigger(_taskServiceConvertorFactory.Object, native); Assert.AreEqual(native, wrapped.Instance); Assert.AreEqual(native.DaysOfMonth[0], wrapped.DaysOfMonth[0]); Assert.AreEqual(native.MonthsOfYear, wrapped.MonthsOfYear); Assert.AreEqual(native.RandomDelay, wrapped.RandomDelay); Assert.AreEqual(native.RunOnLastDayOfMonth, wrapped.RunOnLastDayOfMonth); }
public void Dev2MonthlyTrigger_Construct_Test() { var native = new MonthlyTrigger(2,MonthsOfTheYear.April); var wrapped = new Dev2MonthlyTrigger(_taskServiceConvertorFactory.Object, native); Assert.AreEqual(native, wrapped.Instance); Assert.AreEqual(native.DaysOfMonth[0], wrapped.DaysOfMonth[0]); Assert.AreEqual(native.MonthsOfYear,wrapped.MonthsOfYear); Assert.AreEqual(native.RandomDelay,wrapped.RandomDelay); Assert.AreEqual(native.RunOnLastDayOfMonth,wrapped.RunOnLastDayOfMonth); }