@Test
public void convertTest() {

    final ResponseBody responseBody =
            ResponseBody.create(MediaType.parse("application/json"),
                                "{}");
    final LineMessagingException result =
            target.apply(Response.error(401, responseBody));
    assertThat(result)
            .isInstanceOf(UnauthorizedException.class);
}