TrippleVector extends PaddingVector { @Override public int getRecordLength(CipherSuite testedSuite, ProtocolVersion testedVersion, int appDataLength) { Record r = createRecord(); int macLength = AlgorithmResolver.getMacAlgorithm(testedVersion, testedSuite).getSize(); r.setCleanProtocolMessageBytes(new byte[appDataLength]); r.getComputations().setMac(new byte[macLength]); int paddingLength = AlgorithmResolver.getCipher(testedSuite).getBlocksize() - ((r.getCleanProtocolMessageBytes().getValue().length + r.getComputations().getMac().getValue().length) % AlgorithmResolver .getCipher(testedSuite).getBlocksize()); r.getComputations().setPadding(new byte[paddingLength]); return ArrayConverter.concatenate(r.getCleanProtocolMessageBytes().getValue(), r.getComputations().getMac() .getValue(), r.getComputations().getPadding().getValue()).length; } TrippleVector(String name, String identifier, VariableModification cleanModification,
            VariableModification macModification, VariableModification paddingModification); VariableModification getPaddingModification(); VariableModification getCleanModification(); VariableModification getMacModification(); @Override Record createRecord(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override int getRecordLength(CipherSuite testedSuite, ProtocolVersion testedVersion, int appDataLength);  }
@Test public void testGetRecordLength() { }