@Test
public void getRedirectUrl2() {

    // String path, Client client, RestUtil.HttpMethod method throws MotuCasBadRequestException
    Client c = new Client();
    try {
        assertTrue("".equalsIgnoreCase(RestUtil.getRedirectUrl("http://wpmanager.cls.fr/", c, RestUtil.HttpMethod.GET).toString()));
    } catch (MotuCasBadRequestException e) {
        e.printStackTrace();
        fail();
    }
}