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

whenHasPathWithPredicateWhenPathDoesNotMatch() — spring-boot Function Reference

Architecture documentation for the whenHasPathWithPredicateWhenPathDoesNotMatch() function in JsonWriterTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  2f03d3e3_7ed9_7c2c_0366_49094216d0f1["whenHasPathWithPredicateWhenPathDoesNotMatch()"]
  0d94726e_741b_9208_9d8c_ca4cd0f4cf12["of()"]
  2f03d3e3_7ed9_7c2c_0366_49094216d0f1 -->|calls| 0d94726e_741b_9208_9d8c_ca4cd0f4cf12
  ba4a56ce_ecdd_4428_4341_85898cb4e693["stringToUppercase()"]
  2f03d3e3_7ed9_7c2c_0366_49094216d0f1 -->|calls| ba4a56ce_ecdd_4428_4341_85898cb4e693
  e537a626_eefe_4fa4_6b81_c90a061a4f87["toString()"]
  2f03d3e3_7ed9_7c2c_0366_49094216d0f1 -->|calls| e537a626_eefe_4fa4_6b81_c90a061a4f87
  style 2f03d3e3_7ed9_7c2c_0366_49094216d0f1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/json/JsonWriterTests.java lines 759–764

		@Test
		void whenHasPathWithPredicateWhenPathDoesNotMatch() {
			ValueProcessor<String> processor = ValueProcessor.<String>of(stringToUppercase())
				.whenHasPath((path) -> path.toString().startsWith("f"));
			assertThat(processor.processValue(MemberPath.ROOT.child("bar"), "test")).isEqualTo("test");
		}

Domain

Subdomains

Frequently Asked Questions

What does whenHasPathWithPredicateWhenPathDoesNotMatch() do?
whenHasPathWithPredicateWhenPathDoesNotMatch() is a function in the spring-boot codebase.
What does whenHasPathWithPredicateWhenPathDoesNotMatch() call?
whenHasPathWithPredicateWhenPathDoesNotMatch() calls 3 function(s): of, stringToUppercase, toString.

Analyze Your Own Codebase

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

Try Supermodel Free