← Back to Week 5

AAA Sort

Label each line of a unit test as Arrange, Act, or Assert — then check your work.

Score
0 / 0
Round
1 / 5
ROUND 1 OF 5
GAME COMPLETE
Pattern reminder: Every JUnit test should follow AAA// Arrange sets up the objects you need, // Act calls the method under test, and // Assert verifies the result. Naming convention: methodName_StateUnderTest_ExpectedBehavior.

5 rounds • Click a line's section, then click Check Answers when every line is labeled.

← Pyramid Climber Pick the Assertion →