@Test
public void test_lookup_successfully() {

    String token = "5PDrOhsy4ig8L3EpsJZSLAMg";
    String responseJson ="{\"id\": \"18oVRlB3ft88S6U9raoEDnKn\",\"last_renewal_time\": 1542013233,\"renewable\": false,\"policies\": [\"default\",\"safeadmin\"],\"creation_ttl\": 1800000}";
    Response response = getMockResponse(HttpStatus.OK, true, responseJson);
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body(responseJson);
    when(reqProcessor.process("/auth/tvault/lookup","{}", token)).thenReturn(response);
    ResponseEntity<String> responseEntity = vaultAuthService.lookup(token);
    assertEquals(HttpStatus.OK, responseEntity.getStatusCode());
    assertEquals(responseEntityExpected, responseEntity);
}