public Map<String, String> penRequestAllowed(PenRequest request) throws PenRequestException, SharedServiceClientException {
        final List<PenRequestStatus> result = repository.findByBsnAndDocTypeAndSequenceNo(request.getBsn(), request.getDocType(), request.getSequenceNo());
        checkIfTooSoonOrTooOften(result);
        return statusOK;
    }
@Test
    public void firstPinRequestIsAllowed() throws PenRequestException, SharedServiceClientException {
        Map<String, String> result = service.penRequestAllowed(request);
        assertEquals("OK", result.get("status"));
    }