### Question:
AspspProfileController { @GetMapping @ApiOperation(value = "Reads aspsp specific settings") @ApiResponse(code = 200, message = "Ok", response = AspspSettings.class) public ResponseEntity<AspspSettings> getAspspSettings( @RequestHeader(value = "Instance-ID", required = false, defaultValue = DEFAULT_SERVICE_INSTANCE_ID) String instanceId ) { return new ResponseEntity<>(aspspProfileService.getAspspSettings(instanceId), HttpStatus.OK); }  @GetMapping @ApiOperation(value = "Reads aspsp specific settings") @ApiResponse(code = 200, message = "Ok", response = AspspSettings.class) ResponseEntity<AspspSettings> getAspspSettings(
        @RequestHeader(value = "Instance-ID", required = false, defaultValue = DEFAULT_SERVICE_INSTANCE_ID) String instanceId
    ); @GetMapping(path = "/sca-approaches") @ApiOperation(value = "Reads list of sca approaches") @ApiResponse(code = 200, message = "Ok", response = ScaApproach.class) ResponseEntity<List<ScaApproach>> getScaApproaches(
        @RequestHeader(value = "Instance-ID", required = false, defaultValue = DEFAULT_SERVICE_INSTANCE_ID) String instanceId
    ); @GetMapping(path = "/multitenancy/enabled") @ApiOperation(value = "Reads multitenncy supporting flag") @ApiResponse(code = 200, message = "Ok", response = ScaApproach.class) ResponseEntity<Boolean> isMultitenancyEnabled(); static final String DEFAULT_SERVICE_INSTANCE_ID; }### Answer:
@Test void getAspspSettings() { HttpStatus expectedStatusCode = HttpStatus.OK; when(aspspProfileService.getAspspSettings("")) .thenReturn(AspspSettingsBuilder.buildAspspSettings()); ResponseEntity<AspspSettings> actualResponse = aspspProfileController.getAspspSettings(""); assertThat(actualResponse.getStatusCode()).isEqualTo(expectedStatusCode); AspspSettings expectedSettings = AspspSettingsBuilder.buildAspspSettings(); assertThat(actualResponse.getBody()).isEqualTo(expectedSettings); }