@Test
public void poSecuritySettings_authorizedKvcList() {

  SeReader samReader = null;
  CalypsoSam calypsoSam = createCalypsoSam();
  SeResource<CalypsoSam> samResource = new SeResource<CalypsoSam>(samReader, calypsoSam);
  List<Byte> authorizedKvcs = new ArrayList<Byte>();
  authorizedKvcs.add((byte) 0x12);
  authorizedKvcs.add((byte) 0x34);
  PoSecuritySettings poSecuritySettings =
      new PoSecuritySettings.PoSecuritySettingsBuilder(samResource)
          .sessionAuthorizedKvcList(authorizedKvcs)
          .build();
  assertThat(poSecuritySettings.isSessionKvcAuthorized((byte) 0x12)).isTrue();
  assertThat(poSecuritySettings.isSessionKvcAuthorized((byte) 0x34)).isTrue();
  assertThat(poSecuritySettings.isSessionKvcAuthorized((byte) 0x56)).isFalse();
}