Assert carefully

Report a typo

Match the following Assertion class methods to what they do.

Match the items from left and right columns
assertDoesNotThrow
assertArrayEquals
assertEquals
fail
assertSame
Checks that the two supplied arguments refer to the same object.
Checks that the two supplied arguments are equal.
Fails the test.
Checks that execution of the supplied argument does not throw any exception.
Checks that the two supplied arrays are deeply equal.
___

Create a free account to access the full topic