@Override
    public String deserializeResponse(String answer) throws TelegramApiRequestException {
        return deserializeResponse(answer, String.class);
    }
@Test
    public void testCreateInvoiceLinkDeserializeValidResponse(){
        String responseText = "{\n" +
                "    \"ok\": true,\n" +
                "    \"result\": \"https://t.me/testlink\" \n" +
                "}";

        CreateInvoiceLink createInvoiceLink = createSendInvoiceObject();

        try {
            String link = createInvoiceLink.deserializeResponse(responseText);
            assertEquals("https://t.me/testlink",link);
        } catch (TelegramApiRequestException e) {
            fail(e.getMessage());
        }
    }