public Map<String, String> pukRequestAllowed(PukRequest request) throws PukRequestException {
        final PenRequestStatus result = repository.findFirstByBsnAndDocTypeAndSequenceNoOrderByRequestDatetimeDesc(request.getBsn(), request.getDocType(), request.getSequenceNo());
        checkExpirationDatePen(result);

        return statusOK;
    }
@Test
    public void pukRequestAllowedOnlyPossibleWHenPenRequestHasValidDate() throws PukRequestException {
        Exception exception = assertThrows(PukRequestException.class, () -> {
            service.pukRequestAllowed(request);
        });
        assertEquals("DWS7", exception.getMessage());
    }