using System; using MongoDB.Driver; using PoweredSoft.ObjectStorage.MongoDB.Tests.Mock; using PoweredSoft.ObjectStorage.MongoDB.Tests.Mock.Dal; using Xunit; namespace PoweredSoft.ObjectStorage.MongoDB.Tests { public class CollectionNameAttributeTests { [Fact] public void TestingGetCollection() { var objectStorageClient = MongoDatabaseFactory.GetObjectStorageClient(); var collection = objectStorageClient.GetCollection(); Assert.NotNull(collection); Assert.NotNull(collection.CollectionName); } } }