@Test(expected = CalypsoSamCommandException.class)
public void samSelectionRequest_unlock_ko() {

  SamSelector samSelector =
      SamSelector.builder() //
          .samRevision(SamRevision.AUTO) //
          .unlockData(UNLOCK_DATA)
          .build();
  SamSelectionRequest samSelectionRequest = new SamSelectionRequest(samSelector);
  SelectionStatus selectionStatus = new SelectionStatus(new AnswerToReset(ATR), null, true);
  List<ApduResponse> apduResponses = new ArrayList<ApduResponse>();
  apduResponses.add(UNLOCK_APDU_RESPONSE_KO);
  CalypsoSam calypsoSam =
      samSelectionRequest.parse(new SeResponse(true, true, selectionStatus, apduResponses));
}