public static RequestTemplate from(final RequestTemplate requestTemplate) {
        return new RequestTemplate(
                requestTemplate.getReturnType(),
                requestTemplate.getMethod(),
                requestTemplate.getName(),
                requestTemplate.getUrl(),
                requestTemplate.getContextId(),
                requestTemplate.getPath(),
                requestTemplate.getHttpMethod(),
                requestTemplate.getParamMetadataList(),
                requestTemplate.getHeaders(),
                requestTemplate.getBody());
    }
@Test
    public void testFrom() {
        assertNotNull(requestTemplate);
        RequestTemplate newRequestTemplate = RequestTemplate.from(requestTemplate);
        assertNotNull(newRequestTemplate);
    }