Package org.atlanmod.testing
Class Verifier
- java.lang.Object
-
- org.atlanmod.testing.Verifier
-
public class Verifier extends 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> EqualsVerifier<T>verifyEqualsOf(Class<T> type)Creates aEqualsVerifierfor classtype.
-
-
-
Method Detail
-
verifyEqualsOf
public static <T> EqualsVerifier<T> verifyEqualsOf(Class<T> type)
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.
-
-