@@ -0,0 +1,502 @@
+package com.insightfullogic.java8.test.chapter3;%0D%0A%0D%0Aimport static org.junit.Assert.assertEquals;%0D%0A%0D%0Aimport java.util.Arrays;%0D%0A%0D%0Aimport org.junit.Test;%0D%0A%0D%0Aimport com.insightfullogic.java8.answers.chapter3.Question2;%0D%0Aimport com.insightfullogic.java8.examples.chapter1.SampleData;%0D%0A%0D%0Apublic class Question2Test %7B%0D%0A%0D%0A%09@Test%0D%0A%09public void testCountBandMembersInternal() %7B%0D%0A%09%09assertEquals(4,%0D%0A%09%09%09%09Question2.countBandMembersInternal(Arrays.asList(SampleData.johnColtrane, SampleData.theBeatles)));%0D%0A%09%7D%0D%0A%0D%0A%7D%0D%0A

complete test for question2 in chapter3