MockerBlazorTestBase<(Of <(<'T>)>)>..::..NavigationManager Property

Gets the navigation manager.

Namespace:  FastMoq.Web.Blazor
Assembly:  FastMoq.Web (in FastMoq.Web.dll)

Syntax


protected FakeNavigationManager NavigationManager { get; }
Protected ReadOnly Property NavigationManager As FakeNavigationManager
	Get
protected:
property FakeNavigationManager^ NavigationManager {
	FakeNavigationManager^ get ();
}

Field Value

The navigation manager.

Examples


Click Button by class, tag, or id and check the navigation manager for changes.
C#
NavigationManager.History.Count.Should().Be(2);