convertWhenConversionServiceCanConvertShouldConvert() — spring-boot Function Reference
Architecture documentation for the convertWhenConversionServiceCanConvertShouldConvert() function in BindConverterTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 23a87db2_220d_d988_cd0e_96bdddcb6eeb["convertWhenConversionServiceCanConvertShouldConvert()"] 89319786_fcdb_ff8d_46df_539f201a4256["getBindConverter()"] 23a87db2_220d_d988_cd0e_96bdddcb6eeb -->|calls| 89319786_fcdb_ff8d_46df_539f201a4256 4e2f7a5c_6b0f_06c8_912c_47e1bd679ab4["convert()"] 23a87db2_220d_d988_cd0e_96bdddcb6eeb -->|calls| 4e2f7a5c_6b0f_06c8_912c_47e1bd679ab4 da722caa_ce50_07a3_98b6_4f811e55c38a["getText()"] 23a87db2_220d_d988_cd0e_96bdddcb6eeb -->|calls| da722caa_ce50_07a3_98b6_4f811e55c38a style 23a87db2_220d_d988_cd0e_96bdddcb6eeb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BindConverterTests.java lines 156–162
@Test
void convertWhenConversionServiceCanConvertShouldConvert() {
BindConverter bindConverter = getBindConverter(new SampleTypeConverter());
SampleType converted = bindConverter.convert("test", ResolvableType.forClass(SampleType.class));
assertThat(converted).isNotNull();
assertThat(converted.getText()).isEqualTo("test");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does convertWhenConversionServiceCanConvertShouldConvert() do?
convertWhenConversionServiceCanConvertShouldConvert() is a function in the spring-boot codebase.
What does convertWhenConversionServiceCanConvertShouldConvert() call?
convertWhenConversionServiceCanConvertShouldConvert() calls 3 function(s): convert, getBindConverter, getText.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free