# Functions
ApplyMigration is a helper test function that encapsulates the general steps which are needed to properly check the result of applying migration function.
DumpDB dumps go code describing the contents of the database to stdout.
MakeDB creates a new instance of the firewall DB for testing purposes.
RestoreDB primes the database with the given data set.
VerifyDB verifies the database against the given data set.