Read the scenario, then choose the assertion that best verifies the result.
assertTrue(x) for booleans you expect true, assertFalse(x) for booleans you expect false, assertEquals(expected, actual) for value equality, assertNotEquals when they should differ, and assertArrayEquals for arrays (regular assertEquals on arrays compares references, not contents!).
12 questions • Watch out for the array-equality trap.