analyzeWhenNotAllPropertiesAreInTheEnvironmentShouldReturnNull() — spring-boot Function Reference
Architecture documentation for the analyzeWhenNotAllPropertiesAreInTheEnvironmentShouldReturnNull() function in MutuallyExclusiveConfigurationPropertiesFailureAnalyzerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 609014c8_b9b3_6d10_3219_ecf942eaba83["analyzeWhenNotAllPropertiesAreInTheEnvironmentShouldReturnNull()"] ab6b1ce0_a57f_aa56_2dd9_2b936525a899["get()"] 609014c8_b9b3_6d10_3219_ecf942eaba83 -->|calls| ab6b1ce0_a57f_aa56_2dd9_2b936525a899 2c630fd5_2829_3c98_d0b7_a054bda08e33["MutuallyExclusiveConfigurationPropertiesException()"] 609014c8_b9b3_6d10_3219_ecf942eaba83 -->|calls| 2c630fd5_2829_3c98_d0b7_a054bda08e33 e638bb1b_7ade_7a52_c1d0_1018847097bf["performAnalysis()"] 609014c8_b9b3_6d10_3219_ecf942eaba83 -->|calls| e638bb1b_7ade_7a52_c1d0_1018847097bf style 609014c8_b9b3_6d10_3219_ecf942eaba83 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/MutuallyExclusiveConfigurationPropertiesFailureAnalyzerTests.java lines 59–68
@Test
void analyzeWhenNotAllPropertiesAreInTheEnvironmentShouldReturnNull() {
MapPropertySource source = new MapPropertySource("test", Collections.singletonMap("com.example.a", "alpha"));
this.environment.getPropertySources().addFirst(OriginCapablePropertySource.get(source));
MutuallyExclusiveConfigurationPropertiesException failure = new MutuallyExclusiveConfigurationPropertiesException(
new HashSet<>(Arrays.asList("com.example.a", "com.example.b")),
new HashSet<>(Arrays.asList("com.example.a", "com.example.b")));
FailureAnalysis analysis = performAnalysis(failure);
assertThat(analysis).isNull();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does analyzeWhenNotAllPropertiesAreInTheEnvironmentShouldReturnNull() do?
analyzeWhenNotAllPropertiesAreInTheEnvironmentShouldReturnNull() is a function in the spring-boot codebase.
What does analyzeWhenNotAllPropertiesAreInTheEnvironmentShouldReturnNull() call?
analyzeWhenNotAllPropertiesAreInTheEnvironmentShouldReturnNull() calls 3 function(s): MutuallyExclusiveConfigurationPropertiesException, get, performAnalysis.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free