Example #1
0
        public void CloseDuration_method_sets_CloseDuration_property_of_property_animation()
        {
            propertyBuilder
            .CloseDuration(AnimationDuration.Fast);

            Assert.Equal((int)AnimationDuration.Fast, property.CloseDuration);
        }
Example #2
0
        public void CloseDuration_method_sets_CloseDuration_property_slide_animation()
        {
            slideBuilder
            .CloseDuration(AnimationDuration.Fast);

            Assert.Equal((int)AnimationDuration.Fast, slide.CloseDuration);
        }