### Question:
AgentIdsAgentFilter implements AgentFilter { public boolean isIncluded(Agent agent) { if (agentIds == null || agentIds.size() == 0) { return true; } else { return agentIds.contains(agent.getId()); } } AgentIdsAgentFilter(List<String> agentIds); boolean isIncluded(Agent agent);  }### Answer:
@Test public void isIncluded() throws Exception { filter = new AgentIdsAgentFilter(ImmutableList.<String>builder().add("one").add("two").build()); assertTrue(filter.isIncluded(agentAcceptOne)); assertTrue(filter.isIncluded(agentAcceptTwo)); assertFalse(filter.isIncluded(agentAcceptThree)); }