UnsupportedConfigDataLocationExceptionTests Class — spring-boot Architecture
Architecture documentation for the UnsupportedConfigDataLocationExceptionTests class in UnsupportedConfigDataLocationExceptionTests.java from the spring-boot codebase.
Entity Profile
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/config/UnsupportedConfigDataLocationExceptionTests.java lines 29–45
class UnsupportedConfigDataLocationExceptionTests {
@Test
void createSetsMessage() {
UnsupportedConfigDataLocationException exception = new UnsupportedConfigDataLocationException(
ConfigDataLocation.of("test"));
assertThat(exception).hasMessage("Unsupported config data location 'test'");
}
@Test
void getLocationReturnsLocation() {
ConfigDataLocation location = ConfigDataLocation.of("test");
UnsupportedConfigDataLocationException exception = new UnsupportedConfigDataLocationException(location);
assertThat(exception.getLocation()).isEqualTo(location);
}
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free