Assert.assertNotNull(r);
// capabilities
RepositoryCapabilities repcap = r.getCapabilities();
Assert.assertNotNull(repcap);
CapabilityContentStreamUpdates ccsu = repcap.getContentStreamUpdatesCapability();
Assert.assertNotNull(ccsu);
switch (ccsu) {
case ANYTIME:
case NONE:
case PWCONLY: