Home / Class/ MessageTests Class — spring-boot Architecture

MessageTests Class — spring-boot Architecture

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

Entity Profile

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/transport/MessageTests.java lines 30–44

class MessageTests extends AbstractJsonTests {

	@Test
	void readValueDeserializesJson() throws Exception {
		Message message = getJsonMapper().readValue(getContent("message.json"), Message.class);
		assertThat(message.getMessage()).isEqualTo("test message");
	}

	@Test
	void toStringHasErrorDetails() throws Exception {
		Message errors = getJsonMapper().readValue(getContent("message.json"), Message.class);
		assertThat(errors).hasToString("test message");
	}

}

Domain

Analyze Your Own Codebase

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

Try Supermodel Free