public void AddsSubscriptionWithGivenDateTimeRange()
    {
        Member             member       = MemberHelpers.CreateWithDefaultConstructor();
        MemberSubscription subscription = SubscriptionHelpers.GetDefaultTestSubscription();

        member.AddSubscription(subscription.Dates, 1);

        var subscriptionAdded = member.MemberSubscriptions.Any(s => s.Dates.Equals(subscription.Dates));

        Assert.True(subscriptionAdded);
    }
    public void ExtendsSubscription()
    {
        Member             member = MemberHelpers.CreateWithDefaultConstructor();
        MemberSubscription starterSubscription = SubscriptionHelpers.GetDefaultTestSubscription();
        DateTime           newEndDate          = DateTime.Now.AddDays(30);
        DateTime           originalStartDate   = starterSubscription.Dates.StartDate;

        member.AddSubscription(starterSubscription.Dates, 1);

        member.ExtendCurrentSubscription(newEndDate);

        Assert.Equal(newEndDate, member.MemberSubscriptions[0].Dates.EndDate);
        Assert.Equal(originalStartDate, member.MemberSubscriptions[0].Dates.StartDate);

        Assert.Single(member.MemberSubscriptions);
    }