mockLibrary() — spring-boot Function Reference
Architecture documentation for the mockLibrary() function in CustomLayersProviderTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD dea708c0_0a35_54ae_6047_daec4864dd1f["mockLibrary()"] ae1670d2_c1df_5840_e28c_9ee4d2a196d3["getLayerResolverWhenDocumentValid()"] ae1670d2_c1df_5840_e28c_9ee4d2a196d3 -->|calls| dea708c0_0a35_54ae_6047_daec4864dd1f 0e4c9d19_3e9c_57ee_3447_bffcc57105a9["getLayerResolverWhenDocumentContainsLibraryLayerWithNoFilters()"] 0e4c9d19_3e9c_57ee_3447_bffcc57105a9 -->|calls| dea708c0_0a35_54ae_6047_daec4864dd1f adb53426_f814_60f0_47a0_fd40d68ffdc7["getLayerResolverWhenDocumentContainsResourceLayerWithNoFilters()"] adb53426_f814_60f0_47a0_fd40d68ffdc7 -->|calls| dea708c0_0a35_54ae_6047_daec4864dd1f style dea708c0_0a35_54ae_6047_daec4864dd1f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-maven-plugin/src/test/java/org/springframework/boot/maven/CustomLayersProviderTests.java lines 73–78
private Library mockLibrary(String name, String groupId, @Nullable String version) {
Library library = mock(Library.class);
given(library.getName()).willReturn(name);
given(library.getCoordinates()).willReturn(LibraryCoordinates.of(groupId, null, version));
return library;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does mockLibrary() do?
mockLibrary() is a function in the spring-boot codebase.
What calls mockLibrary()?
mockLibrary() is called by 3 function(s): getLayerResolverWhenDocumentContainsLibraryLayerWithNoFilters, getLayerResolverWhenDocumentContainsResourceLayerWithNoFilters, getLayerResolverWhenDocumentValid.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free