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

mockStatus() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  b8981815_9b0b_da79_3170_add5b97e0aa1["mockStatus()"]
  7a6e1e76_6c61_3e09_62a3_66b05b5870dd["mockSuccessfulMetadataGet()"]
  7a6e1e76_6c61_3e09_62a3_66b05b5870dd -->|calls| b8981815_9b0b_da79_3170_add5b97e0aa1
  85552bae_8ab3_2fb8_e704_1e9bbf5a6bcb["mockSuccessfulProjectGeneration()"]
  85552bae_8ab3_2fb8_e704_1e9bbf5a6bcb -->|calls| b8981815_9b0b_da79_3170_add5b97e0aa1
  713a8d8a_a9f2_ce1b_3af6_97ecfdb38d5f["mockProjectGenerationError()"]
  713a8d8a_a9f2_ce1b_3af6_97ecfdb38d5f -->|calls| b8981815_9b0b_da79_3170_add5b97e0aa1
  9acc0f89_ebcd_60b7_0695_b84ba1cdf83b["mockMetadataGetError()"]
  9acc0f89_ebcd_60b7_0695_b84ba1cdf83b -->|calls| b8981815_9b0b_da79_3170_add5b97e0aa1
  style b8981815_9b0b_da79_3170_add5b97e0aa1 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 126–128

	protected void mockStatus(ClassicHttpResponse response, int status) {
		given(response.getCode()).willReturn(status);
	}

Domain

Subdomains

Frequently Asked Questions

What does mockStatus() do?
mockStatus() is a function in the spring-boot codebase.
What calls mockStatus()?
mockStatus() is called by 4 function(s): mockMetadataGetError, mockProjectGenerationError, mockSuccessfulMetadataGet, mockSuccessfulProjectGeneration.

Analyze Your Own Codebase

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

Try Supermodel Free