public void Should_return_infinite_plan_for_free_plan_if_not_found() { var sut = new ConfigAppPlansProvider(Enumerable.Empty <ConfigAppLimitsPlan>()); var plan = sut.GetFreePlan(); plan.Should().NotBeNull(); }
public void Should_return_free_plan() { var sut = new ConfigAppPlansProvider(Plans); var plan = sut.GetFreePlan(); plan.Should().BeEquivalentTo(FreePlan); }