liquibase.assertions
Class DiffResultAssert

java.lang.Object
  extended by liquibase.assertions.DiffResultAssert

public class DiffResultAssert
extends Object

Utility class to make asserts on diffresults

Author:
lujop

Method Summary
static DiffResultAssert assertThat(DiffResult diffResult)
          Constructs a DiffResultAssert to make assertions on a diffresult
 DiffResultAssert containsMissingForeignKeyWithName(String fkName)
          Checks that diffresult contains a foreign key with the given name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

assertThat

public static DiffResultAssert assertThat(DiffResult diffResult)
Constructs a DiffResultAssert to make assertions on a diffresult


containsMissingForeignKeyWithName

public DiffResultAssert containsMissingForeignKeyWithName(String fkName)
Checks that diffresult contains a foreign key with the given name

Parameters:
fkName - Foreign key name


Copyright © 2004-2011 Liquibase.org. All Rights Reserved.