Пример #1
0
        public void do_not_run_the_application_if_exploding_or_templates()
        {
            var request = new ApplicationRequest();

            request.ExplodeOnlyFlag = true;
            request.TemplatesFlag   = true;

            request.ShouldRunApp().ShouldBeFalse();

            request.TemplatesFlag   = true;
            request.ExplodeOnlyFlag = false;

            request.ShouldRunApp().ShouldBeFalse();
        }
Пример #2
0
        public void do_run_the_application_if_neither_templates_or_explode_is_set()
        {
            var request = new ApplicationRequest {
                ExplodeOnlyFlag = false, TemplatesFlag = false
            };

            request.ShouldRunApp().ShouldBeTrue();
        }