Home / Class/ ConfigDataPropertiesRuntimeHintsTests Class — spring-boot Architecture

ConfigDataPropertiesRuntimeHintsTests Class — spring-boot Architecture

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

Entity Profile

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigDataPropertiesRuntimeHintsTests.java lines 32–45

class ConfigDataPropertiesRuntimeHintsTests {

	@Test
	void shouldRegisterHints() {
		RuntimeHints hints = new RuntimeHints();
		new ConfigDataPropertiesRuntimeHints().registerHints(hints, getClass().getClassLoader());
		assertThat(RuntimeHintsPredicates.reflection().onType(ConfigDataProperties.class)).accepts(hints);
		assertThat(RuntimeHintsPredicates.reflection().onType(ConfigDataLocation.class)).accepts(hints);
		assertThat(RuntimeHintsPredicates.reflection().onType(Activate.class)).accepts(hints);
		assertThat(RuntimeHintsPredicates.reflection().onMethodInvocation(ConfigDataLocation.class, "of"))
			.accepts(hints);
	}

}

Analyze Your Own Codebase

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

Try Supermodel Free