    @Test
    public void getImageForExpressionTest_json() throws ApiException, JsonProcessingException {

        when(api.getImageForExpression(eq(TERM_1_JSON), eq(NOT_NULL_RETINA), isNull(Integer.class), isNull(String.class), isNull(String.class), isNull(Double.class))).thenReturn(new ByteArrayInputStream(new byte[1]));
        imageRetinaApiImpl.getImage(TERM_1_JSON);
        verify(api, times(1)).getImageForExpression(eq(TERM_1_JSON), eq(NOT_NULL_RETINA), isNull(Integer.class), isNull(String.class), isNull(String.class), isNull(Double.class));
    }