Пример #1
0
        public void GetCollectionNameReturnsRegistererdName()
        {
            var collectionName = "BinaryData";

            DataApiClient.RegisterType <DataBlob>(collectionName);
            try
            {
                Assert.That(DataApiClient.GetCollectionName <DataBlob>(), Is.EqualTo(collectionName));
            }
            finally
            {
                DataApiClient.UnregisterType <DataBlob>();
            }
        }