MCPcopy Index your code
hub / github.com/OpenFeign/feign / setUp

Method setUp

mock/src/test/java/feign/mock/RequestKeyTest.java:33–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 private RequestKey requestKey;
32
33 @BeforeEach
34 void setUp() {
35 RequestHeaders headers = RequestHeaders.builder().add("my-header", "val").build();
36 requestKey =
37 RequestKey.builder(HttpMethod.GET, "a")
38 .headers(headers)
39 .charset(StandardCharsets.UTF_16)
40 .body("content")
41 .build();
42 }
43
44 @Test
45 void builder() throws Exception {

Callers

nothing calls this directly

Calls 7

builderMethod · 0.95
builderMethod · 0.95
bodyMethod · 0.65
headersMethod · 0.65
buildMethod · 0.45
addMethod · 0.45
charsetMethod · 0.45

Tested by

no test coverage detected