예제 #1
0
            public void all_operations_are_selected()
            {
                given_filter();
                given_operations();

                when_filtering_operations();

                FilteredOperations.ShouldBe(Operations);
                Errors.Errors.Count.ShouldBe(0);
            }
예제 #2
0
            public void all_operations_are_selected()
            {
                given_uri_registration(new object(), "/");
                given_first_resource_selected();
                given_operations();
                given_first_resource_selected();
                given_filter();

                when_filtering_operations();

                FilteredOperations.ShouldBe(Operations);
                Errors.Errors.Count.ShouldBe(0);
            }