@ExceptionHandler(BsnkException.class)
    @ResponseBody
    public BsnkActivateResponse handleBvBsnClientException(BsnkException ex) {
        logger.error(String.format("FaultReason: '%s', FaultDescription: '%s', causeMessage: '%s'", ex.getFaultReason(),
                ex.getFaultDescription(), ex.getCauseMessage()));
        BsnkActivateResponse response = new BsnkActivateResponse();
        response.setStatus("NOK");
        response.setFaultReason(ex.getFaultReason());
        response.setfaultDescription(ex.getFaultDescription());
        return response;
    }
@Test
    public void bsnkActivateResponseNOkTest() throws BsnkException {
        BsnkException ex = new BsnkException("SomeFault", "Some error occurred", null);

        BsnkActivateResponse result = controller.handleBvBsnClientException(ex);
        assertEquals("NOK", result.getStatus());
        assertEquals("SomeFault", result.getFaultReason());
        assertEquals("Some error occurred", result.getFaultDescription());
    }