public void action_should_return_existing_action_convention_builder()
        {
            // arrange
            var method                = typeof(UndecoratedController).GetMethod(nameof(UndecoratedController.Get));
            var controllerBuilder     = new TestControllerApiVersionConventionBuilder();
            var originalActionBuilder = controllerBuilder.Action(method);

            // act
            var actionBuilder = controllerBuilder.Action(method);

            // assert
            actionBuilder.Should().BeSameAs(originalActionBuilder);
            controllerBuilder.ProtectedActionBuilders.Single().Should().BeSameAs(actionBuilder);
        }
        public void action_should_add_new_action_convention_builder()
        {
            // arrange
            var method            = typeof(UndecoratedController).GetMethod(nameof(UndecoratedController.Get));
            var controllerBuilder = new TestControllerApiVersionConventionBuilder();

            // act
            var actionBuilder = controllerBuilder.Action(method);

            // assert
            controllerBuilder.ProtectedActionBuilders.Values.Single().Should().BeSameAs(actionBuilder);
        }