public void InitialSetIsEmpty() { var builder = new FetchSet.Builder() .WithBucketType("sets") .WithBucket("travel") .WithKey("cities"); // NB: builder.Options will only be set after Build() is called. FetchSet fetchSetCommand = builder.Build(); FetchSetOptions options = new FetchSetOptions("sets", "travel", "cities"); Assert.AreEqual(options, builder.Options); RiakResult rslt = client.Execute(fetchSetCommand); CheckResult(rslt); SetResponse response = fetchSetCommand.Response; Assert.IsTrue(EnumerableUtil.IsNullOrEmpty(response.Value)); }
public void InitialSetIsEmpty() { var builder = new FetchSet.Builder() .WithBucketType("sets") .WithBucket("travel") .WithKey("cities"); // NB: builder.Options will only be set after Build() is called. FetchSet fetchSetCommand = builder.Build(); FetchSetOptions options = new FetchSetOptions("sets", "travel", "cities"); Assert.AreEqual(options, builder.Options); RiakResult rslt = client.Execute(fetchSetCommand); CheckResult(rslt); SetResponse response = fetchSetCommand.Response; Assert.IsTrue(EnumerableUtil.IsNullOrEmpty(response.Value)); }