AutomatedTestsWithDataFakeTInfo, TProvider Method (TProvider, Boolean) |
Fakes the data for the given info and provider
Namespace: CMS.TestsAssembly: CMS.Tests (in CMS.Tests.dll) Version: 9.0.0
Syntax protected internal IInfoProviderFake<TInfo, TProvider> Fake<TInfo, TProvider>(
TProvider providerObject = null,
bool fakeInfo = true
)
where TInfo : new(), AbstractInfoBase<TInfo>, IInfo
where TProvider : new(), AbstractInfoProvider<TProvider>
Parameters
- providerObject (Optional)
- Type: TProvider
Provider object - fakeInfo (Optional)
- Type: SystemBoolean
If true, the info object structure is faked
Type Parameters
- TInfo
- TProvider
Return Value
Type:
IInfoProviderFakeTInfo,
TProviderSee Also