BlobRecord extends AbstractRecord { @Override public AbstractRecordParser getRecordParser(int startposition, byte[] array, ProtocolVersion version) { return new BlobRecordParser(startposition, array, version); } BlobRecord();  BlobRecord(Config config); @Override AbstractRecordPreparator getRecordPreparator(Chooser chooser, Encryptor encryptor,
            RecordCompressor compressor, ProtocolMessageType type); @Override AbstractRecordParser getRecordParser(int startposition, byte[] array, ProtocolVersion version); @Override AbstractRecordSerializer getRecordSerializer(); @Override void adjustContext(TlsContext context); RecordCryptoComputations getComputations(); void setComputations(RecordCryptoComputations computations); @Override void prepareComputations(); @Override String toString();  }
@Test public void testGetRecordParser() { assertEquals(record.getRecordParser(0, new byte[0], ProtocolVersion.TLS10).getClass(), BlobRecordParser.class); assertEquals(record.getRecordParser(0, new byte[0], ProtocolVersion.TLS11).getClass(), BlobRecordParser.class); assertEquals(record.getRecordParser(0, new byte[0], ProtocolVersion.TLS12).getClass(), BlobRecordParser.class); assertEquals(record.getRecordParser(0, new byte[0], ProtocolVersion.TLS13).getClass(), BlobRecordParser.class); }