Add the test method testThatTooYongUsersCanNotPlay to the AgeCheckerTest class. Check that young players will not be able to play if they state their age. Create a new branch failing_test . Change MIN_AGE in AgeChecker to 21 years. Run the tests and look at the HTML report.
Add the test method testThatTooYongUsersCanNotPlay to the AgeCheckerTest class. Check that young players will not be able to play if they state their age. Create a new branch failing_test . Change MIN_AGE in AgeChecker to 21 years. Run the tests and look at the HTML report.