assertInvalid() — spring-boot Function Reference
Architecture documentation for the assertInvalid() function in ProfilesValidatorTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 2fb365e7_8bfd_5e63_ddb3_586722057fc2["assertInvalid()"] 42958fe6_9d53_8ddd_b65d_c5467db5a2b0["validateWhenInvalidThrowsException()"] 42958fe6_9d53_8ddd_b65d_c5467db5a2b0 -->|calls| 2fb365e7_8bfd_5e63_ddb3_586722057fc2 07fcea4b_5661_f45e_0e67_f1d8670ddeba["validateWhenInvalidBoundStringThrowsException()"] 07fcea4b_5661_f45e_0e67_f1d8670ddeba -->|calls| 2fb365e7_8bfd_5e63_ddb3_586722057fc2 e294a24c_6d96_0324_b3ef_5dd73e5d55d8["validateWhenInvalidBoundCollectionThrowsException()"] e294a24c_6d96_0324_b3ef_5dd73e5d55d8 -->|calls| 2fb365e7_8bfd_5e63_ddb3_586722057fc2 b3306371_eea4_594a_cff2_f0937a188868["validateWhenInvalidBoundCollectionFromIndexedThrowsException()"] b3306371_eea4_594a_cff2_f0937a188868 -->|calls| 2fb365e7_8bfd_5e63_ddb3_586722057fc2 7c09a58a_9786_bd52_41ee_a8501d69077e["validateWhenInvalidBoundMapFromIndexedThrowsException()"] 7c09a58a_9786_bd52_41ee_a8501d69077e -->|calls| 2fb365e7_8bfd_5e63_ddb3_586722057fc2 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78["of()"] 2fb365e7_8bfd_5e63_ddb3_586722057fc2 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 eac1ce94_4a0e_3e70_0264_037b6c8b083d["bind()"] 2fb365e7_8bfd_5e63_ddb3_586722057fc2 -->|calls| eac1ce94_4a0e_3e70_0264_037b6c8b083d style 2fb365e7_8bfd_5e63_ddb3_586722057fc2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/config/ProfilesValidatorTests.java lines 119–121
private void assertInvalid(String value) {
assertThatExceptionOfType(BindException.class).isThrownBy(() -> bind(Map.of("profile", value)));
}
Domain
Subdomains
Called By
- validateWhenInvalidBoundCollectionFromIndexedThrowsException()
- validateWhenInvalidBoundCollectionThrowsException()
- validateWhenInvalidBoundMapFromIndexedThrowsException()
- validateWhenInvalidBoundStringThrowsException()
- validateWhenInvalidThrowsException()
Source
Frequently Asked Questions
What does assertInvalid() do?
assertInvalid() is a function in the spring-boot codebase.
What does assertInvalid() call?
assertInvalid() calls 2 function(s): bind, of.
What calls assertInvalid()?
assertInvalid() is called by 5 function(s): validateWhenInvalidBoundCollectionFromIndexedThrowsException, validateWhenInvalidBoundCollectionThrowsException, validateWhenInvalidBoundMapFromIndexedThrowsException, validateWhenInvalidBoundStringThrowsException, validateWhenInvalidThrowsException.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free