public void DisposeRestoresPreviousSitecoreLinkProvider([Frozen]LinkProvider provider, LinkProviderSwitcher sut) { sut.Dispose(); LinkManager.Provider.Name.Should().Be("sitecore"); }
public void SutSwitchesSwitcherCurrentValue([Frozen]LinkProvider provider, LinkProviderSwitcher sut) { LinkProviderSwitcher.CurrentValue.Should().BeSameAs(provider); }
public void SutSwitchesSwitcherSitecoreLinkProvider([Frozen]LinkProvider provider, LinkProviderSwitcher sut) { LinkManager.Provider.Name.Should().Be("switcher"); }
public void SutIsSwitcher(LinkProviderSwitcher sut) { sut.Should().BeAssignableTo<Switcher<LinkProvider>>(); }
public void DisposeRestoresPreviousSitecoreLinkProvider([Frozen] LinkProvider provider, LinkProviderSwitcher sut) { sut.Dispose(); LinkManager.Provider.Name.Should().Be("sitecore"); }
public void SutSwitchesSwitcherSitecoreLinkProvider([Frozen] LinkProvider provider, LinkProviderSwitcher sut) { LinkManager.Provider.Name.Should().Be("switcher"); }
public void SutSwitchesSwitcherCurrentValue([Frozen] LinkProvider provider, LinkProviderSwitcher sut) { LinkProviderSwitcher.CurrentValue.Should().BeSameAs(provider); }
public void SutIsSwitcher(LinkProviderSwitcher sut) { sut.Should().BeAssignableTo <Switcher <LinkProvider> >(); }