    @Test
    public void inRegistryAndShouldMock_CallMockedEndpoint() {

        // Given
        givenWhenFunctionReturns(true);
        givenEndpointInRegistry(true);

        // When
        testee.newCall(REQUEST);

        // Then
        verify(mockClient).newCall(REQUEST);
        verify(realClient, never()).newCall(any(Request.class));
    }