ITest ApiSet Method
Set a dummy data object into the cache.
This is useful for mocking data while writing a workflow unit test.
Definition
Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
C#
void Set(
string registerName,
Object value
)Parameters
Example
C#
var testApi = ctx.Use<ITestApi>();
testApi.Set("TestSampleData",1);