Getting rid of a warning message by adding @SuppressWarnings to the testNoNegativeLifePoints method