Home / Class/ ConfigDataLoaderTests Class — spring-boot Architecture

ConfigDataLoaderTests Class — spring-boot Architecture

Architecture documentation for the ConfigDataLoaderTests class in ConfigDataLoaderTests.java from the spring-boot codebase.

Entity Profile

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigDataLoaderTests.java lines 33–58

class ConfigDataLoaderTests {

	private final TestConfigDataLoader loader = new TestConfigDataLoader();

	private final ConfigDataLoaderContext context = mock(ConfigDataLoaderContext.class);

	@Test
	void isLoadableAlwaysReturnsTrue() {
		assertThat(this.loader.isLoadable(this.context, new TestConfigDataResource())).isTrue();
	}

	static class TestConfigDataLoader implements ConfigDataLoader<TestConfigDataResource> {

		@Override
		public @Nullable ConfigData load(ConfigDataLoaderContext context, TestConfigDataResource resource)
				throws IOException {
			return null;
		}

	}

	static class TestConfigDataResource extends ConfigDataResource {

	}

}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free