Home / Function/ getWhenReadTypesReturnsTypes() — spring-boot Function Reference

getWhenReadTypesReturnsTypes() — spring-boot Function Reference

Architecture documentation for the getWhenReadTypesReturnsTypes() function in JsonStreamTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  023e3b2f_c4c8_7db2_ee78_6f8dd1d8feed["getWhenReadTypesReturnsTypes()"]
  2b145164_38de_cc84_c38f_0e0793be9836["getId()"]
  023e3b2f_c4c8_7db2_ee78_6f8dd1d8feed -->|calls| 2b145164_38de_cc84_c38f_0e0793be9836
  89046c17_79ce_eaa9_03f8_194f5707438a["getStatus()"]
  023e3b2f_c4c8_7db2_ee78_6f8dd1d8feed -->|calls| 89046c17_79ce_eaa9_03f8_194f5707438a
  style 023e3b2f_c4c8_7db2_ee78_6f8dd1d8feed fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/json/JsonStreamTests.java lines 51–59

	@Test
	void getWhenReadTypesReturnsTypes() throws Exception {
		List<TestEvent> result = new ArrayList<>();
		this.jsonStream.get(getContent("stream.json"), TestEvent.class, result::add);
		assertThat(result).hasSize(595);
		assertThat(result.get(1).getId()).isEqualTo("5667fdb72017");
		assertThat(result.get(594).getStatus())
			.isEqualTo("Status: Downloaded newer image for paketo-buildpacks/cnb:base");
	}

Domain

Subdomains

Calls

  • getId()
  • getStatus()

Frequently Asked Questions

What does getWhenReadTypesReturnsTypes() do?
getWhenReadTypesReturnsTypes() is a function in the spring-boot codebase.
What does getWhenReadTypesReturnsTypes() call?
getWhenReadTypesReturnsTypes() calls 2 function(s): getId, getStatus.

Analyze Your Own Codebase

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

Try Supermodel Free