MemberPath<TFixtureItem,TReturnType>.Stub<TInstance> method
Configure the member to be a stub.
csharp
public MemberConfig<TFixtureItem> Stub<TInstance>()
where TInstance : TReturnType
public MemberConfig<TFixtureItem> Stub<TInstance>()
where TInstance : TReturnType
parameter | description |
---|---|
TInstance | The type of the instance. This needs to be an interface type. |
Return Value
The MemberConfig
.
See Also
- class MemberConfig<TFixtureItem>
- class MemberPath<TFixtureItem,TReturnType>
- namespace Twizzar.Fixture.Member