### Question:
LengthlessEncryptedChunkEncoder implements EncryptedChunkEncoder { @Override public int getEncodedLengthOfChunk(EncryptedChunk chunk) { return chunk.nonce().length + chunk.encryptedBytes().length; }  @Override void writeChunkToWriter(BackupWriter writer, EncryptedChunk chunk); @Override int getEncodedLengthOfChunk(EncryptedChunk chunk); @Override @ChunkOrderingType int getChunkOrderingType();  }### Answer:
@Test public void getEncodedLengthOfChunk_returnsSumOfNonceAndDataLengths() { int encodedLength = mEncoder.getEncodedLengthOfChunk(mTestChunk); assertThat(encodedLength).isEqualTo(TEST_NONCE.length + TEST_DATA.length); }