Search

Search:

Namespace:

Search Result
.
            WriteLineService3 service = executionContext.GetService<WriteLineService3>();
.
    WriteLineService3 service = RecorderManager.CreateMockedObject<WriteLineService3>();
.
        executionContext.GetService<WriteLineService3>();
.

In this test I actually check that the runtime service, called WriteLineService3 in this case, is never retrieved. This test is still pretty simple and no more complicated than the test we did previously.

.
    WriteLineService3 service = RecorderManager.CreateMockedObject<WriteLineService3>();
.
        executionContext.GetService<WriteLineService3>();
.

public class WriteLineService3: WorkflowRuntimeService

.
    WriteLineService3_Accessor target = new WriteLineService3_Accessor();