@Test public void testGetPINBlock() throws Throwable { byte[] pinBlock = new byte[2]; EncryptedPIN encryptedPIN = new EncryptedPIN(pinBlock, (byte) 0, "testEncryptedPINAccountNumber"); byte[] pinBlock2 = new byte[3]; encryptedPIN.setPINBlock(pinBlock2); byte[] result = encryptedPIN.getPINBlock(); assertSame(pinBlock2, result, "result"); assertEquals((byte) 0, pinBlock2[0], "pinBlock2[0]"); }
public byte[] getPINBlock () { return pinBlock; }
EncryptedPIN implements Serializable, Loggeable { public byte[] getPINBlock () { return pinBlock; } }
EncryptedPIN implements Serializable, Loggeable { public byte[] getPINBlock () { return pinBlock; } EncryptedPIN();  EncryptedPIN(byte[] pinBlock, byte pinBlockFormat, String accountNumber);  EncryptedPIN(byte[] pinBlock, byte pinBlockFormat, String accountNumber, boolean extract);  EncryptedPIN(String pinBlockHexString, byte pinBlockFormat, String accountNumber);  EncryptedPIN(String pinBlockHexString, byte pinBlockFormat, String accountNumber, boolean extract); }
EncryptedPIN implements Serializable, Loggeable { public byte[] getPINBlock () { return pinBlock; } EncryptedPIN();  EncryptedPIN(byte[] pinBlock, byte pinBlockFormat, String accountNumber);  EncryptedPIN(byte[] pinBlock, byte pinBlockFormat, String accountNumber, boolean extract);  EncryptedPIN(String pinBlockHexString, byte pinBlockFormat, String accountNumber);  EncryptedPIN(String pinBlockHexString, byte pinBlockFormat, String accountNumber, boolean extract); void dump(PrintStream p, String indent); void setPINBlock(byte[] pinBlock); byte[] getPINBlock(); void setPINBlockFormat(byte pinBlockFormat); byte getPINBlockFormat(); void setAccountNumber(String extractedAccountNumber); String getAccountNumber(); static String extractAccountNumberPart(String accountNumber); }
EncryptedPIN implements Serializable, Loggeable { public byte[] getPINBlock () { return pinBlock; } EncryptedPIN();  EncryptedPIN(byte[] pinBlock, byte pinBlockFormat, String accountNumber);  EncryptedPIN(byte[] pinBlock, byte pinBlockFormat, String accountNumber, boolean extract);  EncryptedPIN(String pinBlockHexString, byte pinBlockFormat, String accountNumber);  EncryptedPIN(String pinBlockHexString, byte pinBlockFormat, String accountNumber, boolean extract); void dump(PrintStream p, String indent); void setPINBlock(byte[] pinBlock); byte[] getPINBlock(); void setPINBlockFormat(byte pinBlockFormat); byte getPINBlockFormat(); void setAccountNumber(String extractedAccountNumber); String getAccountNumber(); static String extractAccountNumberPart(String accountNumber);  }