public void AddsCorrectProvider() { var provider = new TheyPronounProvider(); this.Pronouns.WithPronounProvider(provider); Assert.Collection(this.Pronouns.GetAvailablePronounProviders(), p => Assert.Same(provider, p)); }
public void ReturnsNonEmptySetWhenProvidersHaveBeenAdded() { var provider = new TheyPronounProvider(); this.Pronouns.WithPronounProvider(provider); Assert.NotEmpty(this.Pronouns.GetAvailablePronounProviders()); }
public void ReturnsCorrectProvider() { var expected = new TheyPronounProvider(); this.Pronouns.WithPronounProvider(expected); var actual = this.Pronouns.GetPronounProvider(_character); Assert.Same(expected, actual); }