Class TestContextBaseExtensions
- Namespace
- Bunit.TestDoubles
- Assembly
- Bunit.Core.dll
Extensions related to FakePersistentComponentState.
public static class TestContextBaseExtensions
- Inheritance
-
TestContextBaseExtensions
- Inherited Members
Methods
AddFakePersistentComponentState(TestContextBase)
Adds and returns a FakePersistentComponentState to the services of the testContext
.
public static FakePersistentComponentState AddFakePersistentComponentState(this TestContextBase testContext)
Parameters
testContext
TestContextBaseThe test context to add the FakePersistentComponentState to.