public void Constructor()
        {
            var option = new ResizeOptions();
            var info   = new ResizeServiceSubscriptionInfo(option);

            info.Option.Should().Be(option);
        }
        public void AddSubscription()
        {
            var info = new ResizeServiceSubscriptionInfo(new ResizeOptions());

            var id = info.AddSubscription((x) => { });

            info.ContainsSubscription(id).Should().BeTrue();
        }
        public void RemoveSubscription_IsNotLast()
        {
            var info = new ResizeServiceSubscriptionInfo(new ResizeOptions());

            var firstId  = info.AddSubscription((x) => { });
            var secondId = info.AddSubscription((x) => { });

            info.ContainsSubscription(firstId).Should().BeTrue();
            info.RemoveSubscription(firstId).Should().BeFalse();
            info.ContainsSubscription(firstId).Should().BeFalse();
        }
        public void ContainsSubscription_NotFound()
        {
            var info = new ResizeServiceSubscriptionInfo(new ResizeOptions());

            info.ContainsSubscription(Guid.NewGuid()).Should().BeFalse();
        }