### Question:
AspspProfileController { @GetMapping(path = "/sca-approaches") @ApiOperation(value = "Reads list of sca approaches") @ApiResponse(code = 200, message = "Ok", response = ScaApproach.class) public ResponseEntity<List<ScaApproach>> getScaApproaches( @RequestHeader(value = "Instance-ID", required = false, defaultValue = DEFAULT_SERVICE_INSTANCE_ID) String instanceId ) { return new ResponseEntity<>(aspspProfileService.getScaApproaches(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 getScaApproach() { HttpStatus expectedStatusCode = HttpStatus.OK; when(aspspProfileService.getScaApproaches("")) .thenReturn(Collections.singletonList(ScaApproach.REDIRECT)); ResponseEntity<List<ScaApproach>> actualResponse = aspspProfileController.getScaApproaches(""); assertThat(actualResponse.getStatusCode()).isEqualTo(expectedStatusCode); assertThat(actualResponse.getBody()).isEqualTo(Collections.singletonList(ScaApproach.REDIRECT)); }