package com.karumi.holidayskata;

import java.util.Date;
import java.util.List;

public class Team {

    public void addMember(Employee employee) {
    }

    public List<Employee> membersAvailables(Date date) {
        return null;
    }
}

@@ -27,16 +27,44 @@
 skata;%0A%0A
+import java.util.ArrayList;%0A
 import j
@@ -78,16 +78,16 @@
 l.Date;%0A
-
 import j
@@ -121,16 +121,74 @@
 s Team %7B
+%0A    private List%3CEmployee%3E employees = new ArrayList%3C%3E();
 %0A%0A    pu
@@ -224,24 +224,57 @@
 employee) %7B%0A
+        employees.add(employee);%0A
     %7D%0A%0A    p
@@ -321,24 +321,238 @@
 ate date) %7B%0A
+        List%3CEmployee%3E availables = new ArrayList%3C%3E();%0A        for (Employee employee : employees) %7B%0A            if(!employee.isOnHolidays(date)) %7B%0A                availables.add(employee);%0A            %7D%0A        %7D%0A
         retu
@@ -558,12 +558,18 @@
 urn 
-null
+availables
 ;%0A  

check availability of team member for a date.