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 pukRequestAllowedIsAllowedWithin21Days() throws PukRequestException {

        // set valid date of penrequest in repo
        status.setPinResetValidDate(LocalDateTime.of(2019, 1, 2, 12, 33));

        Map<String, String> result = service.pukRequestAllowed(request);
        assertEquals("OK", result.get("status"));
    }