PoSecuritySettings { PoTransaction.SvSettings.NegativeBalance getSvNegativeBalance() { return svNegativeBalance; } private  PoSecuritySettings(PoSecuritySettingsBuilder builder); PoTransaction.PinTransmissionMode getPinTransmissionMode(); static final ModificationMode defaultSessionModificationMode; static final RatificationMode defaultRatificationMode; static final PoTransaction.PinTransmissionMode defaultPinTransmissionMode; }
@Test public void poSecuritySettings_negativeSvBalance() { SeReader samReader = null; CalypsoSam calypsoSam = createCalypsoSam(); SeResource<CalypsoSam> samResource = new SeResource<CalypsoSam>(samReader, calypsoSam); PoSecuritySettings poSecuritySettings = new PoSecuritySettings.PoSecuritySettingsBuilder(samResource).build(); assertThat(poSecuritySettings.getSvNegativeBalance()).isEqualTo(FORBIDDEN); poSecuritySettings = new PoSecuritySettings.PoSecuritySettingsBuilder(samResource) .svNegativeBalance(AUTHORIZED) .build(); assertThat(poSecuritySettings.getSvNegativeBalance()).isEqualTo(AUTHORIZED); }