### Question:
CSVFolder implements CSVObject { @Override public Capability getCapability() { return this.capability; } CSVFolder();  CSVFolder(Capability capability); void download(byte[] packet); void sign(); void encrypt(); @Override boolean isValid(); @Override Capability getCapability(); @Override void setCapability(Capability capability); Map<String, Capability> getContents(); void addContent(String alias, Capability capability); byte[] upload(); void createPlainText(); byte[] getPublicKeyHash(); public byte[] plainText; public boolean hack_do_not_create_plaintext; }### Answer:
@Test public void testCapabilityGeneration() { Capability cap = this.newFolder.getCapability(); Assert.assertEquals(CapabilityType.RW, cap.getType()); Assert.assertNotNull(cap.getStorageIndex()); Assert.assertEquals(Cryptoutil.SYM_SIZE / 8, cap.getVerificationKey().length); Assert.assertEquals(Cryptoutil.SYM_SIZE / 8, cap.getKey().length); }