public void CreateWithNullPartitionsPathThrowsAsync() { //Arrange var options = new RocksDbOptionsProvider(new SystemEnvironment(), true); //Act //Assert Assert.Throws <ArgumentNullException>(() => RocksDbWrapper.Create(options, "AnyPath", null)); }
public void CreateWithNullOptionThrowsAsync() { // Arrange ICollection<string> partitions = new List<string>(); // Act // Assert Assert.Throws<ArgumentNullException>(() => RocksDbWrapper.Create(null, "AnyPath", partitions)); partitions.Clear(); }
public void CreateWithNullPathThrowsAsync() { //Arrange ICollection <string> partitions = new List <string>(); var options = new RocksDbOptionsProvider(new SystemEnvironment(), true); //Act //Assert Assert.Throws <ArgumentException>(() => RocksDbWrapper.Create(options, null, partitions)); partitions.Clear(); }