<div class="blazorise-codeblock">
<div class="csharp"><pre>
<span class="keyword">public</span> <span class="keyword">sealed</span> <span class="keyword">class</span> MockNavigationManager
    : NavigationManager
{
    <span class="keyword">public</span> MockNavigationManager() : <span class="keyword">base</span>() =&gt; 
        <span class="keyword">this</span>.Initialize(<span class="string">&quot;http://localhost/&quot;</span>, <span class="string">&quot;http://localhost/test&quot;</span>);

    <span c