@@ -0,0 +1,945 @@
+package com.hitthebits.hacknslash;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport java.util.Map;%0A%0Aimport static org.junit.Assert.assertTrue;%0A%0Apublic class MapReplaceAllTest %7B%0A    private Map%3CString, Integer%3E scores;%0A%0A    @Before%0A    public void setup() %7B%0A        scores = Factory.createScores();%0A    %7D%0A%0A    @Test%0A    public void java7Approach() %7B%0A        for (Map.Entry%3CString, Integer%3E entry : scores.entrySet()) %7B%0A            if (entry.getValue() %3C 50) %7B%0A                entry.setValue(entry.getValue() + 50);%0A            %7D%0A        %7D%0A        assertAllScoresAreGreaterThanOrEqualTo50();%0A    %7D%0A%0A    @Test%0A    public void java8Approach() %7B%0A        scores.replaceAll((name, score) -%3E score %3C 50 ? score + 50 : score);%0A        assertAllScoresAreGreaterThanOrEqualTo50();%0A    %7D%0A%0A    private void assertAllScoresAreGreaterThanOrEqualTo50() %7B%0A        for (int score : scores.values()) %7B%0A            assertTrue(score %3E= 50);%0A        %7D%0A    %7D%0A%7D%0A

Add MapReplaceAllTest