PersistClientId() public method

public PersistClientId ( PersistClientIdRequest request ) : RiakResponse
request System.Data.RiakClient.Models.PersistClientIdRequest
return RiakResponse
        public void ShouldPersistClientId()
        {
            // Arrange.
            var connection = new RiakConnection { Host = "192.168.30.118", Port = 8087 };
            var repository = new RiakManagementRepository(connection);

            // Act.
            var response = repository.PersistClientId(new PersistClientIdRequest {ClientId = BitConverter.GetBytes(1337)});

            // Assert.
            Assert.IsTrue(response.ResponseCode == RiakResponseCode.Successful);
        }