View Javadoc
1   package org.dbunit.assertion.comparer.value.verifier;
2   
3   import java.util.Map;
4   
5   import org.dbunit.VerifyTableDefinition;
6   import org.dbunit.assertion.comparer.value.ValueComparer;
7   
8   /**
9    * Strategy pattern for verifying {@link ValueComparer}s and
10   * {@link VerifyTableDefinition}s configurations agree, e.g. a
11   * {@link ValueComparer} does not exist for a column for which a
12   * {@link VerifyTableDefinition} has an excluded column definition.
13   *
14   * @author jjensen
15   * @since 2.6.0
16   */
17  public interface ValueComparerAndVerifyTableDefinitionVerifier
18  {
19      /**
20       * Verify the tableColumnValueComparers and verifyTableDefinitions agree.
21       */
22      void verify(
23              final Map<String, Map<String, ValueComparer>> tableColumnValueComparers,
24              final VerifyTableDefinition[] verifyTableDefinitions);
25  }