### Question:
AspspProfileUpdateController { @PutMapping(path = "/aspsp-settings") @ApiOperation(value = "Updates aspsp profile settings. Only for DEBUG!") @ApiResponses(value = { @ApiResponse(code = 200, message = "Ok"), @ApiResponse(code = 400, message = "Bad request")}) public ResponseEntity<Void> updateAspspSettings(@RequestBody AspspSettings aspspSettings, @RequestHeader(value = "Instance-ID", required = false, defaultValue = DEFAULT_SERVICE_INSTANCE_ID) String instanceId) { aspspProfileService.updateAspspSettings(aspspSettings, instanceId); return new ResponseEntity<>(HttpStatus.OK); }  @PutMapping(path = "/sca-approaches") @ApiOperation(value = "Updates list of sca approaches. Only for DEBUG!") @ApiResponses(value = { @ApiResponse(code = 200, message = "Ok"), @ApiResponse(code = 400, message = "Bad request")}) ResponseEntity<Void> updateScaApproach(@RequestBody List<String> newScaApproaches,
                                                  @RequestHeader(value = "Instance-ID", required = false, defaultValue = DEFAULT_SERVICE_INSTANCE_ID) String instanceId); @PutMapping(path = "/aspsp-settings") @ApiOperation(value = "Updates aspsp profile settings. Only for DEBUG!") @ApiResponses(value = { @ApiResponse(code = 200, message = "Ok"), @ApiResponse(code = 400, message = "Bad request")}) ResponseEntity<Void> updateAspspSettings(@RequestBody AspspSettings aspspSettings,
                                                    @RequestHeader(value = "Instance-ID", required = false, defaultValue = DEFAULT_SERVICE_INSTANCE_ID) String instanceId); @PutMapping(path = "/multitenancy/enabled") @ApiOperation(value = "Enable aspsp profile multi tenancy support. Only for DEBUG!") @ApiResponses(value = { @ApiResponse(code = 200, message = "Ok"), @ApiResponse(code = 400, message = "Bad request")}) ResponseEntity<Void> enableMultitenancy(@RequestBody Boolean multitenancyEnabled); static final String DEFAULT_SERVICE_INSTANCE_ID; }### Answer:
@Test void updateAspspSettings() { AspspSettings aspspSettings = AspspSettingsBuilder.buildAspspSettings(); ResponseEntity<Void> actualResponse = aspspProfileUpdateController.updateAspspSettings(aspspSettings, ""); assertEquals(HttpStatus.OK, actualResponse.getStatusCode()); verify(aspspProfileUpdateService).updateAspspSettings(aspspSettings, ""); }