MCPcopy Index your code
hub / github.com/amadeus4dev/amadeus-java / setup

Method setup

src/test/java/com/amadeus/ResponseTest.java:34–43  ·  view source on GitHub ↗

Response Test.

()

Source from the content-addressed store, hash-verified

32 * Response Test.
33 */
34 @BeforeEach public void setup() {
35 request = mock(Request.class);
36 response = new Response(request);
37 connection = mock(HttpURLConnection.class);
38
39 client = Amadeus.builder("id", "secret")
40 .setLogLevel("silent").build();
41
42 when(request.getConnection()).thenReturn(connection);
43 }
44
45 @Test public void testInitialize() {
46 assertEquals(response.getRequest(), request);

Callers

nothing calls this directly

Calls 2

builderMethod · 0.95
buildMethod · 0.80

Tested by

no test coverage detected