/// <inheritdoc/>
 public void DropNamespace(string nsName)
 {
     using (var nsNameRx = nsName.GetHandle())
         Assert.ThrowIfError(() =>
                             ReindexerBinding.reindexer_drop_namespace(Rx, nsNameRx, _ctxInfo)
                             );
 }
 public void OpenNamespace()
 {
     AssertError(ReindexerBinding.reindexer_open_namespace(_rx, "OpenNamespaceTest".GetHandle(),
                                                           new StorageOpts {
         options = StorageOpt.kStorageOptCreateIfMissing | StorageOpt.kStorageOptEnabled
     },
                                                           _ctxInfo));
     AssertError(ReindexerBinding.reindexer_drop_namespace(_rx, "OpenNamespaceTest".GetHandle(), _ctxInfo));
 }
        public void DropNamespace()
        {
            var error = ReindexerBinding.reindexer_drop_namespace(_rx, "DropNamespaceTest".GetHandle(), _ctxInfo);

            Assert.AreNotEqual(0, error.code);
            AssertError(ReindexerBinding.reindexer_open_namespace(_rx, "DropNamespaceTest".GetHandle(),
                                                                  new StorageOpts {
                options = StorageOpt.kStorageOptCreateIfMissing | StorageOpt.kStorageOptEnabled
            },
                                                                  _ctxInfo));
            AssertError(ReindexerBinding.reindexer_drop_namespace(_rx, "DropNamespaceTest".GetHandle(), _ctxInfo));
        }