Method Create
| Edit this page View SourceCreate(string)
Create a new Mock of type T : Component
Declaration
public static T Create(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Name of the original component |
Returns
| Type | Description |
|---|---|
| T | Mocked Component |