ActorTestKit<T>.Invoke method (1 of 2)
Invokes the actor method with the specified name, and passing the specified optional parameters. Use this method to invoke private methods of the actor.
public object Invoke(string methodName, params object[] parameters)
parameter | description |
---|---|
methodName | The name of the actor method. |
parameters | The parameters to the method. |
See Also
- class ActorTestKit<T>
- namespace Microsoft.Coyote.Actors.UnitTesting
- assembly Microsoft.Coyote.Actors
ActorTestKit<T>.Invoke method (2 of 2)
Invokes the actor method with the specified name and parameter types, passing the specified optional parameters. Use this method to invoke private methods of the actor.
public object Invoke(string methodName, Type[] parameterTypes, params object[] parameters)
parameter | description |
---|---|
methodName | The name of the actor method. |
parameterTypes | The parameter types of the method. |
parameters | The parameters to the method. |
See Also
- class ActorTestKit<T>
- namespace Microsoft.Coyote.Actors.UnitTesting
- assembly Microsoft.Coyote.Actors