Class DbUnitAllowEmptyFieldsInterceptor

java.lang.Object
com.github.mjeanroy.dbunit.core.configuration.DbUnitAllowEmptyFieldsInterceptor
All Implemented Interfaces:
DbUnitConfigInterceptor

public final class DbUnitAllowEmptyFieldsInterceptor extends Object
An interceptor that can enable/disable the "allowEmptyFields" feature of DbUnit.
See Also:
  • DatabaseConfig.FEATURE_ALLOW_EMPTY_FIELDS
  • Constructor Details

    • DbUnitAllowEmptyFieldsInterceptor

      public DbUnitAllowEmptyFieldsInterceptor()
      Create the interceptor, the feature is enabled by default.
    • DbUnitAllowEmptyFieldsInterceptor

      public DbUnitAllowEmptyFieldsInterceptor(boolean allowEmptyFields)
      Create the interceptor.
      Parameters:
      allowEmptyFields - Feature activation flag: true to enable feature, false otherwise.
  • Method Details