    @Test
    public void testGetOrder() {

        OrderDto expectedOrder = mock(OrderDto.class);
        when(getOrderDto.mapTo()).thenReturn(expectedOrder);
        when(restTemplate.exchange(
                requestCaptor.capture(),
                eq(HttpMethod.GET),
                entity.capture(),
                eq(HitbtcOrderGetDto.class)

        )).thenReturn(new ResponseEntity<>(getOrderDto, HttpStatus.OK));

        Optional<OrderDto> result = hitbtcRestService.get(ID);

        assertThat(result.isPresent()).isTrue();
        assertThat(result.get()).isEqualTo(expectedOrder);
        assertThat(requestCaptor.getValue()).isEqualTo(BASE + "/order/" + ID);
    }