Class FakeRandomFixture<TEntryPoint>
- Namespace
- FEFF.TestFixtures.AspNetCore
- Assembly
- FEFF.TestFixtures.AspNetCore.dll
Replaces the Random service with a FakeRandom singleton in the application under test.
public class FakeRandomFixture<TEntryPoint> : IFakeRandomFixture where TEntryPoint : class
Type Parameters
TEntryPointThe application entry point type.
- Inheritance
-
FakeRandomFixture<TEntryPoint>
- Implements
- Inherited Members
Constructors
FakeRandomFixture(AppManagerFixture<TEntryPoint>)
Initializes a new instance of FakeRandomFixture<TEntryPoint> and registers the fake random service with the application under test.
public FakeRandomFixture(AppManagerFixture<TEntryPoint> app)
Parameters
appAppManagerFixture<TEntryPoint>The application manager fixture.
Properties
Value
Gets the FakeRandom instance.
public FakeRandom Value { get; }