public void TaskShedulerWrapper_Dev2LogonTrigger_Construct_Test() { var native = new LogonTrigger(); var wrapped = new Dev2LogonTrigger(_taskServiceConvertorFactory.Object, native); wrapped.Delay = new TimeSpan(1); Assert.AreEqual(wrapped.Delay, native.Delay); Assert.AreEqual(wrapped.UserId, native.UserId); Assert.AreEqual(wrapped.Instance, native); }
public void TaskShedulerWrapper_Dev2LogonTrigger_Construct_Test() { var native = new LogonTrigger(); var wrapped = new Dev2LogonTrigger(_taskServiceConvertorFactory.Object, native); wrapped.Delay = new TimeSpan(1); Assert.AreEqual(wrapped.Delay, native.Delay); Assert.AreEqual(wrapped.UserId, native.UserId); Assert.AreEqual(wrapped.Instance,native); }