Class FakeMethods
Class providing methods for faking the data
[Obsolete("Class was not intended for public use and will be removed in the next version.")]
public class FakeMethods : IFakeMethods
- Inheritance
-
objectFakeMethods
- Implements
- Extension Methods
Constructors
FakeMethods(AutomatedTestsWithData)
Constructor
public FakeMethods(AutomatedTestsWithData parentTests)
Parameters
parentTests
AutomatedTestsWithDataParent unit tests
Properties
ParentTests
Parent tests
public AutomatedTestsWithData ParentTests { get; set; }
Property Value
Methods
InfoProvider<TInfo, TProvider>()
Fakes the data for the given info and provider
public IInfoProviderFake<TInfo, TProvider> InfoProvider<TInfo, TProvider>() where TInfo : AbstractInfoBase<TInfo>, IInfo, new() where TProvider : AbstractInfoProvider<TInfo, TProvider>, new()
Returns
- IInfoProviderFake<TInfo, TProvider>
Type Parameters
TInfo
TProvider
Info<TInfo>(InfoFakeSettings)
Fakes the data for the given info
public IInfoFake<TInfo> Info<TInfo>(InfoFakeSettings settings = null) where TInfo : BaseInfo, IInfo, new()
Parameters
settings
InfoFakeSettingsFake settings
Returns
- IInfoFake<TInfo>
Type Parameters
TInfo