createShouldReturnCreatedValue() — spring-boot Function Reference
Architecture documentation for the createShouldReturnCreatedValue() function in ValueObjectBinderTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 836fa8f8_f578_a248_29d3_458936d84329["createShouldReturnCreatedValue()"] 76576a77_87f7_3680_8561_2923813db3c1["of()"] 836fa8f8_f578_a248_29d3_458936d84329 -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 a58ac161_4f0c_7b48_a82e_001b7e3628cc["getLongValue()"] 836fa8f8_f578_a248_29d3_458936d84329 -->|calls| a58ac161_4f0c_7b48_a82e_001b7e3628cc 4d7001cc_1092_4286_79fd_aa86229f9182["isBooleanValue()"] 836fa8f8_f578_a248_29d3_458936d84329 -->|calls| 4d7001cc_1092_4286_79fd_aa86229f9182 529f23f8_1ab6_c514_f95a_76ce6952960c["getEnumValue()"] 836fa8f8_f578_a248_29d3_458936d84329 -->|calls| 529f23f8_1ab6_c514_f95a_76ce6952960c 7afea842_5bbc_d146_e255_07658f543807["getStringValue()"] 836fa8f8_f578_a248_29d3_458936d84329 -->|calls| 7afea842_5bbc_d146_e255_07658f543807 b7876815_7efe_6ccb_7199_b592e0b62e2a["getIntValue()"] 836fa8f8_f578_a248_29d3_458936d84329 -->|calls| b7876815_7efe_6ccb_7199_b592e0b62e2a style 836fa8f8_f578_a248_29d3_458936d84329 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/ValueObjectBinderTests.java lines 224–232
@Test
void createShouldReturnCreatedValue() {
ExampleValueBean value = this.binder.bindOrCreate("foo", Bindable.of(ExampleValueBean.class));
assertThat(value.getIntValue()).isZero();
assertThat(value.getLongValue()).isZero();
assertThat(value.isBooleanValue()).isFalse();
assertThat(value.getStringValue()).isNull();
assertThat(value.getEnumValue()).isNull();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does createShouldReturnCreatedValue() do?
createShouldReturnCreatedValue() is a function in the spring-boot codebase.
What does createShouldReturnCreatedValue() call?
createShouldReturnCreatedValue() calls 6 function(s): getEnumValue, getIntValue, getLongValue, getStringValue, isBooleanValue, of.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free