// Path: deltaspike-dbunit/src/main/java/com/github/deltaspikedbunit/assertion/DatabaseAssertionMode.java
// public enum DatabaseAssertionMode {
// 
// 	/**
// 	 * Default DbUnit data sets assertions (i.e. checks all columns and their order).
// 	 */
// 	DEFAULT(new DefaultDatabaseAssertion()),
// 
// 	/**
// 	 * Allows specifying only specific columns and tables in expected data set. Unspecified tables and columns are
// 	 * ignored.
// 	 * <p>
// 	 * <strong>Notes:</strong>
// 	 * <ul>
// 	 * <li>Expected row order must match order in actual data set.</li>
// 	 * <li>Specified columns must match in all rows, e.g. specifying 'column1' value without 'column2' value in one row
// 	 * and only 'column2' value in another is not allowed - both 'column1' and 'column2' values must be specified in all
// 	 * rows.</li>
// 	 * </ul>
// 	 */
// 	NON_STRICT(new NonStrictDatabaseAssertion()),
// 
// 	/**
// 	 * Allows specifying only specific columns and tables in expected data set and ignoring row orders in expected and
// 	 * actual data set. Unspecified tables and columns are ignored. Row orders in expected and actual data sets are
// 	 * ignored.
// 	 * <p>
// 	 * <strong>Notes:</strong>
// 	 * <ul>
// 	 * <li>Expected row order does not need to match order in actual data set.</li>
// 	 * <li>Specified columns must match in all rows, e.g. specifying 'column1' value without 'column2' value in one row
// 	 * and only 'column2' value in another is not allowed - both 'column1' and 'column2' values must be specified in all
// 	 * rows.</li>
// 	 * </ul>
// 	 */
// 	NON_STRICT_UNORDERED(new NonStrictUnorderedDatabaseAssertion());
// 
// 
// 	private DatabaseAssertion databaseAssertion;
// 
// 	DatabaseAssertionMode(DatabaseAssertion databaseAssertion) {
// 		this.databaseAssertion = databaseAssertion;
// 	}
// 
// 
// 	public DatabaseAssertion getDatabaseAssertion() {
// 		return this.databaseAssertion;
// 	}
// 
// }


import com.github.deltaspikedbunit.annotation.DatabaseSetup;
import com.github.deltaspikedbunit.annotation.ExpectedDatabase;
import com.github.deltaspikedbunit.assertion.DatabaseAssertionMode;
import com.github.deltaspikedbunit.sample.inventory.entity.*;
import com.github.deltaspikedbunit.deltaspike.*;
import org.apache.deltaspike.testcontrol.api.junit.CdiTestRunner;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import javax.inject.Inject;
import java.util.List;
package com.github.deltaspikedbunit.sample.inventory.service;






@RunWith(CdiTestRunner.class)
@DatabaseTest
@DatabaseSetup("../setup-db.xml")
public class InventoryServiceTest {

    @Inject
    private InventoryService inventoryService;
    

    @Test
// Path: deltaspike-dbunit/src/main/java/com/github/deltaspikedbunit/assertion/DatabaseAssertionMode.java
// public enum DatabaseAssertionMode {
// 
// 	/**
// 	 * Default DbUnit data sets assertions (i.e. checks all columns and their order).
// 	 */
// 	DEFAULT(new DefaultDatabaseAssertion()),
// 
// 	/**
// 	 * Allows specifying only specific columns and tables in expected data set. Unspecified tables and columns are
// 	 * ignored.
// 	 * <p>
// 	 * <strong>Notes:</strong>
// 	 * <ul>
// 	 * <li>Expected row order must match order in actual data set.</li>
// 	 * <li>Specified columns must match in all rows, e.g. specifying 'column1' value without 'column2' value in one row
// 	 * and only 'column2' value in another is not allowed - both 'column1' and 'column2' values must be specified in all
// 	 * rows.</li>
// 	 * </ul>
// 	 */
// 	NON_STRICT(new NonStrictDatabaseAssertion()),
// 
// 	/**
// 	 * Allows specifying only specific columns and tables in expected data set and ignoring row orders in expected and
// 	 * actual data set. Unspecified tables and columns are ignored. Row orders in expected and actual data sets are
// 	 * ignored.
// 	 * <p>
// 	 * <strong>Notes:</strong>
// 	 * <ul>
// 	 * <li>Expected row order does not need to match order in actual data set.</li>
// 	 * <li>Specified columns must match in all rows, e.g. specifying 'column1' value without 'column2' value in one row
// 	 * and only 'column2' value in another is not allowed - both 'column1' and 'column2' values must be specified in all
// 	 * rows.</li>
// 	 * </ul>
// 	 */
// 	NON_STRICT_UNORDERED(new NonStrictUnorderedDatabaseAssertion());
// 
// 
// 	private DatabaseAssertion databaseAssertion;
// 
// 	DatabaseAssertionMode(DatabaseAssertion databaseAssertion) {
// 		this.databaseAssertion = databaseAssertion;
// 	}
// 
// 
// 	public DatabaseAssertion getDatabaseAssertion() {
// 		return this.databaseAssertion;
// 	}
// 
// }


// Path: deltaspike-dbunit-sample/src/test/java/com/github/deltaspikedbunit/sample/inventory/service/InventoryServiceTest.java
import com.github.deltaspikedbunit.annotation.DatabaseSetup;
import com.github.deltaspikedbunit.annotation.ExpectedDatabase;
import com.github.deltaspikedbunit.assertion.DatabaseAssertionMode;
import com.github.deltaspikedbunit.sample.inventory.entity.*;
import com.github.deltaspikedbunit.deltaspike.*;
import org.apache.deltaspike.testcontrol.api.junit.CdiTestRunner;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import javax.inject.Inject;
import java.util.List;

package com.github.deltaspikedbunit.sample.inventory.service;






@RunWith(CdiTestRunner.class)
@DatabaseTest
@DatabaseSetup("../setup-db.xml")
public class InventoryServiceTest {

    @Inject
    private InventoryService inventoryService;
    

    @Test
    @ExpectedDatabase(value = "../setup-db.xml", assertionMode = DatabaseAssertionMode.NON_STRICT)