Package org.atlanmod.testing
Class Verifier
java.lang.Object
org.atlanmod.testing.Verifier
public class Verifier
extends java.lang.Object
Entry point for verification methods that improve unit tests.
Each method in this class is a static factory for a specific verification object.
For instance:
verifyEqualsOf(String.class)
.withArguments("a String"
.andVariants("another String"
.check()
-
Method Summary
Modifier and Type Method Description static <T> EqualsVerifierverifyEqualsOf(java.lang.Class<T> type)Creates aEqualsVerifierfor classtype.
-
Method Details
-
verifyEqualsOf
Creates aEqualsVerifierfor classtype.- Type Parameters:
T- the actual class of the class .- Parameters:
type- the class whoseequals()method will be verified.- Returns:
- an instance of
EqualsVerifier.
-