@Test
public void handleRequestExceptionWithoutCauseShouldReturnIt(){

    RequestException e = new RequestException("msg", null);
    RuntimeException actual = CRestException.handle(e);
    assertEquals(CRestException.class, actual.getClass());
    assertSame(e, actual.getCause());
    assertSame("msg", actual.getMessage());
}