- isEqualTo
- hasSize
Example: // assertion will pass
assertThat(new byte[] { 1, 2, 3 }).hasSize(3);
// assertion will
- isNotNull
- containsExactly
Verifies that the actual group contains only the given values and nothing else,
in order. Example :
- isNotEmpty
- isNull
- isEmpty
- contains
Verifies that the actual array contains the given values, in any order. Example: // assertion will p
- containsOnly
Verifies that the actual array contains only the given values and nothing else,
in any order. Exampl
- isNotEqualTo
- containsSequence
Verifies that the actual array contains the given sequence, without any other
values between them. E
- doesNotContain
Verifies that the actual array does not contain the given values. Example: // assertion will pass
a