public void ShowDeveloperErrors_AddsDeveloperExceptionBuilder()
        {
            var builder = new DefaultResponseModifiers(new ResponseConfiguration
            {
                ShowDeveloperErrors = true
            });

            bool hasBuilder = builder.Any(b => b is DeveloperExceptionInfoResponseModifier);

            Assert.True(hasBuilder);
        }
        public void StatusField_StatusCode_AddsBuilder()
        {
            var builder = new DefaultResponseModifiers(new ResponseConfiguration
            {
                StatusField = ResponseStatusField.StatusCode
            });

            bool hasBuilder = builder.Any(b => b is StatusCodeResponseModifier);

            Assert.True(hasBuilder);
        }
        public void WrapCollectionResponseBody_AddsPagedBodyBuilder()
        {
            var builder = new DefaultResponseModifiers(new ResponseConfiguration
            {
                Pagination =
                {
                    WrapCollectionResponseBody = true
                }
            });

            bool hasBuilder = builder.Any(b => b is PagedBodyResponseModifier);

            Assert.True(hasBuilder);
        }