コード例 #1
0
        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();
        }
コード例 #2
0
        public void Should_return_free_plan()
        {
            var sut = new ConfigAppPlansProvider(Plans);

            var plan = sut.GetFreePlan();

            plan.Should().BeEquivalentTo(FreePlan);
        }