Invoke-Mock

This command is used by Pester's Mocking framework. You do not need to call it directly.

Syntax

Invoke-Mock
      [-CommandName] <String>
      [-MockCallState] <Hashtable>
      [[-ModuleName] <String>]
      [[-BoundParameters] <Hashtable>]
      [[-ArgumentList] <Object[]>]
      [[-CallerSessionState] <Object>]
      [[-FromBlock] <String>]
      [[-InputObject] <Object>]

Description

{{Fill in the Description}}

Examples

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

Required Parameters

-CommandName

{{Fill CommandName Description}}

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MockCallState

{{Fill MockCallState Description}}

Type:Hashtable
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-ArgumentList

{{Fill ArgumentList Description}}

Type:Object[]
Position:5
Default value:@()
Accept pipeline input:False
Accept wildcard characters:False
-BoundParameters

{{Fill BoundParameters Description}}

Type:Hashtable
Position:4
Default value:@{}
Accept pipeline input:False
Accept wildcard characters:False
-CallerSessionState

{{Fill CallerSessionState Description}}

Type:Object
Position:6
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FromBlock

{{Fill FromBlock Description}}

Type:String
Position:7
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

{{Fill InputObject Description}}

Type:Object
Position:8
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ModuleName

{{Fill ModuleName Description}}

Type:String
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False