@Test
public void testFetchDefaultBucketProps() throws InterruptedException, ExecutionException
{
Namespace namespace = new Namespace(Namespace.DEFAULT_BUCKET_TYPE, bucketName.toString());
BucketProperties props = fetchBucketProps(namespace);
assertTrue(props.hasNVal());
assertTrue(props.hasAllowMulti());
assertTrue(props.hasBasicQuorum());
assertTrue(props.hasBigVClock());
assertTrue(props.hasChashKeyFunction());
assertTrue(props.hasLinkwalkFunction());
assertTrue(props.hasDw());
assertTrue(props.hasLastWriteWins());
assertTrue(props.hasLinkwalkFunction());
assertTrue(props.hasNotFoundOk());
assertTrue(props.hasOldVClock());
assertTrue(props.hasPr());
assertTrue(props.hasPw());
assertTrue(props.hasR());
assertTrue(props.hasLegacyRiakSearchEnabled());
assertTrue(props.hasRw());
assertTrue(props.hasSmallVClock());
assertTrue(props.hasW());
assertTrue(props.hasYoungVClock());
assertFalse(props.hasBackend());
assertFalse(props.hasPostcommitHooks());
assertFalse(props.hasPrecommitHooks());
assertFalse(props.hasSearchIndex());
}