- assertEquals
Asserts that two arrays contain the same elements in the same order. If they do
not, an AssertionErr
- assertTrue
Asserts that a condition is true. If it isn't, an AssertionError, with the given
message, is thrown.
- assertFalse
Asserts that a condition is false. If it isn't, an AssertionError, with the
given message, is thrown
- assertNotNull
Asserts that an object isn't null. If it is, an AssertionFailedError, with the
given message, is thr
- fail
Fails a test with the given message and wrapping the original exception.
- assertNull
Asserts that an object is null. If it is not, an AssertionFailedError, with the
given message, is th
- assertNotEquals
- assertSame
Asserts that two objects refer to the same object. If they do not, an
AssertionFailedError, with the
- assertNotSame
Asserts that two objects do not refer to the same objects. If they do, an
AssertionError, with the g
- assertThrows
Asserts that runnable throws an exception when invoked. If it does not, an
AssertionError is thrown.
- assertEqualsNoOrder
Asserts that two arrays contain the same elements in no particular order. If
they do not, an Asserti
- expectThrows
Asserts that runnable throws an exception of type throwableClass when executed
and returns the excep