private void AssertNullOrEmptyTransactionConfig(TransactionConfig txConfig) { if (txConfig != null && !txConfig.IsEmpty()) { throw new ArgumentException( "Driver is connected to the database that does not support transaction configuration. " + "Please upgrade to neo4j 3.5.0 or later in order to use this functionality"); } }
public void DefaultValueShouldBeEmpty() { var config = new TransactionConfig(); config.IsEmpty().Should().BeTrue(); }