public void NativeActivity_FailsWhenReturnedDelegateFails() { FailsWhenReturningNativeActivity mock = new FailsWhenReturningNativeActivity() { ContinueOnError = false }; WorkflowInvokerTest invoker = new WorkflowInvokerTest(mock); Assert.Throws <NotImplementedException>(() => { invoker.TestActivity(); }); }
public void NativeActivity_ContinuesWhenReturnedDelegateFails() { FailsWhenReturningNativeActivity mock = new FailsWhenReturningNativeActivity() { ContinueOnError = true }; WorkflowInvokerTest invoker = new WorkflowInvokerTest(mock); invoker.TestActivity(); }