@GET
    @UnitOfWork
    public List<Person> listPeople() {
        return peopleDAO.findAll();
    }
@Test
    void listPeople() {
        final List<Person> people = Collections.singletonList(person);
        when(PERSON_DAO.findAll()).thenReturn(people);

        final List<Person> response = RESOURCES.target("/people")
            .request().get(new GenericType<List<Person>>() {
            });

        verify(PERSON_DAO).findAll();
        assertThat(response).containsAll(people);
    }