### Question:
TeamAxisGenerator implements AxisGenerator { @Override public Stream<AxisPointDTO> getPoints(long projectId) { return teamRepository.findAllByProjectIdOrderByName(projectId).stream() .filter(Team::isAssignableToFunctionalities) .map(team -> new AxisPointDTO(team.getId().toString(), team.getName(), null)); }  @Override String getCode(); @Override String getName(); @Override Stream<AxisPointDTO> getPoints(long projectId); @Override String[] getValuePoints(Functionality functionality);  }### Answer:
@Test public void testGetPoints() { when(teamRepository.findAllByProjectIdOrderByName(A_PROJECT_ID)).thenReturn(Arrays.asList( new Team().withId(Long.valueOf(1)).withName("Team 1").withAssignableToFunctionalities(true), new Team().withId(Long.valueOf(2)).withName("Not assignable").withAssignableToFunctionalities(false), new Team().withId(Long.valueOf(3)).withName("Team 3").withAssignableToFunctionalities(true))); assertThat(cut.getPoints(A_PROJECT_ID)).containsExactly( new AxisPointDTO("1", "Team 1", null), new AxisPointDTO("3", "Team 3", null)); }