public void CreateWithNullPartitionsPathThrowsAsync() { //Arrange //Act //Assert Assert.Throws <ArgumentNullException>(() => ColumnFamilyStorageRocksDbWrapper.Create("AnyPath", null)); }
public void CreateWithNullPathThrowsAsync() { //Arrange ICollection <string> partitions = new List <string>(); //Act //Assert Assert.Throws <ArgumentException>(() => ColumnFamilyStorageRocksDbWrapper.Create(null, partitions)); partitions.Clear(); }