AutomatedTestsWithDataFakeTInfo, TProvider Method (TProvider, Boolean) |
Fakes the data for the given info and provider
Namespace: CMS.TestsAssembly: CMS.Tests (in CMS.Tests.dll) Version: 8.2.23
Syntax protected internal InfoProviderFake<TInfo, TProvider> Fake<TInfo, TProvider>(
TProvider providerObject = null,
bool fakeInfo = true
)
where TInfo : new(), AbstractInfo<TInfo>, IInfo
where TProvider : new(), AbstractInfoProvider<TInfo, 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:
InfoProviderFakeTInfo,
TProviderSee Also