@@ -0,0 +1,1241 @@
+package com.hitthebits.hacknslash;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport java.util.Map;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Apublic class MapForEachTest %7B%0A    private static final String EXPECTED = %22deep_web9 has a score of 20%5Cn%22 +%0A            %22Sir-Fragsalot has a score of 60%5Cn%22 +%0A            %22general_f@1lur3 has a score of 40%5Cn%22 +%0A            %22CaptainOpcode has a score of 100%5Cn%22 +%0A            %22lambda_@rity has a score of 80%5Cn%22;%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        final StringBuilder rendered = new StringBuilder();%0A%0A        for (Map.Entry%3CString, Integer%3E entry : scores.entrySet()) %7B%0A            rendered.append(String.format(%22%25s has a score of %25d%5Cn%22, entry.getKey(), entry.getValue()));%0A        %7D%0A%0A        assertEquals(EXPECTED, rendered.toString());%0A    %7D%0A%0A    @Test%0A    public void java8Approach() %7B%0A        final StringBuilder rendered = new StringBuilder();%0A%0A        scores.forEach((name, score) -%3E %7B%0A            rendered.append(String.format(%22%25s has a score of %25d%5Cn%22, name, score));%0A        %7D);%0A%0A        assertEquals(EXPECTED, rendered.toString());%0A    %7D%0A%7D

Add MapForEachTest