T- The "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation" for more details.
public interface AssertOnPrimaryKey<T extends AssertOnPrimaryKey<T>>
|Modifier and Type||Method and Description|
Verifies that the columns og the primary key of the rows of the change is the same as the parameters.
Verifies that the values of the primary key of the rows of the change are the same as the parameters.
Example where the assertion verifies that primary key is the column called id :
names- The names of the primary key associated with the rows of the change.
AssertionError- If the columns of the primary key are different to the names in parameters.
NullPointerException- If one of the names in parameters is
Example where the assertion verifies that primary key have the value 1 :
Copyright © 2015–2017 AssertJ. All rights reserved.