コード例 #1
0
		public void ShouldDropAndCreate()
		{
			// Arrange
			using (MongoProvider provider = new MongoProvider(ConfigSettings.MongoConnectionString))
			{
				// Act
				provider.DropAndCreate(typeof(Shipper));

				// Assert
				Assert.IsTrue(provider.CollectionExists(typeof(Shipper)));
			}
		}