### Question:
VaultAuthControllerV2 { @PostMapping(value="/v2/auth/tvault/lookup",produces="application/json") @ApiOperation(value = "${VaultAuthControllerV2.lookup.value}", notes = "${VaultAuthControllerV2.lookup.notes}") public ResponseEntity<String> lookup(@RequestHeader(value="vault-token") String token){ return vaultAuthService.lookup(token); }  @PostMapping(value="/v2/auth/tvault/login",produces="application/json") @ApiOperation(value = "${VaultAuthControllerV2.login.value}", notes = "${VaultAuthControllerV2.login.notes}") ResponseEntity<String> login(@RequestBody UserLogin user); @GetMapping(value="/v2/auth/tvault/renew",produces="application/json") @ApiOperation(value = "${VaultAuthControllerV2.renew.value}", notes = "${VaultAuthControllerV2.renew.notes}") ResponseEntity<String> renew(@RequestHeader(value="vault-token") String token); @PostMapping(value="/v2/auth/tvault/lookup",produces="application/json") @ApiOperation(value = "${VaultAuthControllerV2.lookup.value}", notes = "${VaultAuthControllerV2.lookup.notes}") ResponseEntity<String> lookup(@RequestHeader(value="vault-token") String token); @GetMapping(value="/auth/tvault/revoke",produces="application/json") @ApiOperation(value = "${VaultAuthControllerV2.revoke.value}", notes = "${VaultAuthControllerV2.revoke.notes}") @ApiResponses(value={ @ApiResponse(code = 204, message = "Revoked Successfully") }) ResponseEntity<String> revoke(@RequestHeader(value="vault-token") String token);  }### Answer:
@Test public void test_lookup() throws Exception { String responseMessage = "{\"id\": \"18oVRlB3ft88S6U9raoEDnKn\",\"last_renewal_time\": 1542013233,\"renewable\": false,\"policies\": [\"default\",\"safeadmin\"],\"creation_ttl\": 1800000}"; ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body(responseMessage); when(vaultAuthService.lookup(eq("5PDrOhsy4ig8L3EpsJZSLAMg"))).thenReturn(responseEntityExpected); mockMvc.perform(MockMvcRequestBuilders.post("/v2/auth/tvault/lookup") .header("vault-token", "5PDrOhsy4ig8L3EpsJZSLAMg") .header("Content-Type", "application/json;charset=UTF-8")) .andExpect(status().isOk()) .andExpect(content().string(containsString(responseMessage))); }