validationErrorsForCamelCaseFieldsShouldContainRejectedValue() — spring-boot Function Reference
Architecture documentation for the validationErrorsForCamelCaseFieldsShouldContainRejectedValue() function in ValidationBindHandlerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD d94a0f6d_a90b_0369_9d8f_7f77cae6eb16["validationErrorsForCamelCaseFieldsShouldContainRejectedValue()"] 7ed947bf_22a1_2781_a2ae_759aa1907445["add()"] d94a0f6d_a90b_0369_9d8f_7f77cae6eb16 -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445 dec6e978_683d_a8e4_7ae5_e3e729d3253e["MockConfigurationPropertySource()"] d94a0f6d_a90b_0369_9d8f_7f77cae6eb16 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e 0f6888bd_415c_a046_17eb_844b4cf7637e["bindAndExpectValidationError()"] d94a0f6d_a90b_0369_9d8f_7f77cae6eb16 -->|calls| 0f6888bd_415c_a046_17eb_844b4cf7637e 8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"] d94a0f6d_a90b_0369_9d8f_7f77cae6eb16 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78["of()"] d94a0f6d_a90b_0369_9d8f_7f77cae6eb16 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 style d94a0f6d_a90b_0369_9d8f_7f77cae6eb16 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/validation/ValidationBindHandlerTests.java lines 202–208
@Test
void validationErrorsForCamelCaseFieldsShouldContainRejectedValue() {
this.sources.add(new MockConfigurationPropertySource("foo.inner.person-age", 2));
BindValidationException cause = bindAndExpectValidationError(() -> this.binder
.bind(ConfigurationPropertyName.of("foo"), Bindable.of(ExampleCamelCase.class), this.handler));
assertThat(cause.getMessage()).contains("rejected value [2]");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does validationErrorsForCamelCaseFieldsShouldContainRejectedValue() do?
validationErrorsForCamelCaseFieldsShouldContainRejectedValue() is a function in the spring-boot codebase.
What does validationErrorsForCamelCaseFieldsShouldContainRejectedValue() call?
validationErrorsForCamelCaseFieldsShouldContainRejectedValue() calls 5 function(s): MockConfigurationPropertySource, add, bind, bindAndExpectValidationError, of.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free