Label each line of a unit test as Arrange, Act, or Assert — then check your work.
// 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.