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

mockSuccessfulMetadataGet() — spring-boot Function Reference

Architecture documentation for the mockSuccessfulMetadataGet() function in AbstractHttpClientMockTests.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 4 called by 4

Entity Profile

Dependency Diagram

graph TD
  7a6e1e76_6c61_3e09_62a3_66b05b5870dd["mockSuccessfulMetadataGet()"]
  601c6cae_0f2b_8b0c_d6ad_0026f98158a1["mockSuccessfulMetadataTextGet()"]
  601c6cae_0f2b_8b0c_d6ad_0026f98158a1 -->|calls| 7a6e1e76_6c61_3e09_62a3_66b05b5870dd
  42132298_30fd_81ce_f788_cc6b1b5faf7b["mockSuccessfulMetadataGetV2()"]
  42132298_30fd_81ce_f788_cc6b1b5faf7b -->|calls| 7a6e1e76_6c61_3e09_62a3_66b05b5870dd
  85552bae_8ab3_2fb8_e704_1e9bbf5a6bcb["mockSuccessfulProjectGeneration()"]
  85552bae_8ab3_2fb8_e704_1e9bbf5a6bcb -->|calls| 7a6e1e76_6c61_3e09_62a3_66b05b5870dd
  713a8d8a_a9f2_ce1b_3af6_97ecfdb38d5f["mockProjectGenerationError()"]
  713a8d8a_a9f2_ce1b_3af6_97ecfdb38d5f -->|calls| 7a6e1e76_6c61_3e09_62a3_66b05b5870dd
  e29f09a4_e43e_9e13_f426_08dae8bb8d90["readClasspathResource()"]
  7a6e1e76_6c61_3e09_62a3_66b05b5870dd -->|calls| e29f09a4_e43e_9e13_f426_08dae8bb8d90
  18609c13_780f_967d_eb51_be6a1deef88f["mockHttpEntity()"]
  7a6e1e76_6c61_3e09_62a3_66b05b5870dd -->|calls| 18609c13_780f_967d_eb51_be6a1deef88f
  b8981815_9b0b_da79_3170_add5b97e0aa1["mockStatus()"]
  7a6e1e76_6c61_3e09_62a3_66b05b5870dd -->|calls| b8981815_9b0b_da79_3170_add5b97e0aa1
  61880da0_5920_ea6b_a35a_acc145a6349b["getForMetadata()"]
  7a6e1e76_6c61_3e09_62a3_66b05b5870dd -->|calls| 61880da0_5920_ea6b_a35a_acc145a6349b
  style 7a6e1e76_6c61_3e09_62a3_66b05b5870dd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/init/AbstractHttpClientMockTests.java lines 59–62

	protected void mockSuccessfulMetadataGet(boolean serviceCapabilities) throws IOException {
		mockSuccessfulMetadataGet("metadata/service-metadata-2.1.0.json", "application/vnd.initializr.v2.1+json",
				serviceCapabilities);
	}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does mockSuccessfulMetadataGet() do?
mockSuccessfulMetadataGet() is a function in the spring-boot codebase.
What does mockSuccessfulMetadataGet() call?
mockSuccessfulMetadataGet() calls 4 function(s): getForMetadata, mockHttpEntity, mockStatus, readClasspathResource.
What calls mockSuccessfulMetadataGet()?
mockSuccessfulMetadataGet() is called by 4 function(s): mockProjectGenerationError, mockSuccessfulMetadataGetV2, mockSuccessfulMetadataTextGet, mockSuccessfulProjectGeneration.

Analyze Your Own Codebase

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

Try Supermodel Free